Limiter les descriptions dans le tchat

Elles sont disponibles en overflow
This commit is contained in:
Vincent Vandemeulebrouck
2021-06-23 11:05:38 +02:00
parent 5f4bb2fac5
commit 8061534107
12 changed files with 16 additions and 14 deletions

View File

@ -6,4 +6,4 @@
{{#if vendeur}}à {{vendeur.name}}{{/if}}:
{{quantiteTotal}} {{item.name}} pour {{prixTotal}} sols.
</p>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" item.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" item.data}}

View File

@ -1,11 +1,11 @@
{{#if description}}
<hr>
<span class="poesie-extrait">
<div class="poesie-extrait poesie-overflow">
{{{description}}}
{{#if reference}}
<p class="poesie-reference">{{reference}}</p>
{{/if}}
</span>
</div>
{{else if reference}}
<hr>
<span class="poesie-extrait">

View File

@ -12,4 +12,4 @@
{{/if}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" oeuvre.data}}

View File

@ -12,4 +12,4 @@
{{/if}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" oeuvre.data}}

View File

@ -12,4 +12,4 @@
{{/if}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" oeuvre.data}}

View File

@ -12,4 +12,4 @@
{{/if}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" oeuvre.data}}

View File

@ -13,4 +13,4 @@
{{/if}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" oeuvre.data}}

View File

@ -21,4 +21,4 @@
{{/if}}
</span>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" oeuvre.data}}

View File

@ -24,6 +24,6 @@
</span>
</div>
<hr>
<span class="poesie-extrait">
<div class="poesie-extrait poesie-overflow">
{{{selectedSort.data.description}}}
</span>
</div>

View File

@ -3,7 +3,7 @@
{{#if item.img}}
<img src="{{item.img}}" title="{{item.name}}" />
{{/if}}
<p class="card-content">{{{item.data.description}}}</p>
<div class="poesie-extrait poesie-overflow card-content">{{{item.data.description}}}</div>
<p>
{{#each properties as |property p|}}
<span>{{{property}}}</span><br>