diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 1335b4af..eb977d14 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -190,7 +190,7 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-attaque.html', // messages tchat 'systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html', - 'systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html', + 'systems/foundryvtt-reve-de-dragon/templates/chat-description.html', 'systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html', 'systems/foundryvtt-reve-de-dragon/templates/chat-demande-defense.html', 'systems/foundryvtt-reve-de-dragon/templates/chat-demande-attaque-particuliere.html', diff --git a/styles/simple.css b/styles/simple.css index 951bb8ba..ff9b32a0 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -522,12 +522,14 @@ table {border: 1px solid #7a7971;} } .poesie-overflow { color: rgba(82, 17, 131, 0.9); - max-height: 2.5rem; + max-height: 1.5rem; overflow: hidden; + border-left: 1px dotted black; /* If you want dots under the hoverable text */ } .poesie-overflow:hover { max-height: unset; overflow: visible; + border-left: 0px } .type-compendium{ diff --git a/templates/chat-achat-item.html b/templates/chat-achat-item.html index a9d726ad..9b0540ed 100644 --- a/templates/chat-achat-item.html +++ b/templates/chat-achat-item.html @@ -6,4 +6,4 @@ {{#if vendeur}}à {{vendeur.name}}{{/if}}: {{quantiteTotal}} {{item.name}} pour {{prixTotal}} sols.

-{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" item.data}} +{{> "systems/foundryvtt-reve-de-dragon/templates/chat-description.html" item.data}} diff --git a/templates/chat-poesie.html b/templates/chat-description.html similarity index 82% rename from templates/chat-poesie.html rename to templates/chat-description.html index dd1c9308..268feb35 100644 --- a/templates/chat-poesie.html +++ b/templates/chat-description.html @@ -1,11 +1,11 @@ {{#if description}}
- +
{{{description}}} {{#if reference}}

{{reference}}

{{/if}} - +
{{else if reference}}
diff --git a/templates/chat-resultat-chant.html b/templates/chat-resultat-chant.html index eb2b072e..d55b1c18 100644 --- a/templates/chat-resultat-chant.html +++ b/templates/chat-resultat-chant.html @@ -12,4 +12,4 @@ {{/if}} {{> "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}} diff --git a/templates/chat-resultat-danse.html b/templates/chat-resultat-danse.html index 50a5cc2c..a2f2f55f 100644 --- a/templates/chat-resultat-danse.html +++ b/templates/chat-resultat-danse.html @@ -12,4 +12,4 @@ {{/if}} {{> "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}} diff --git a/templates/chat-resultat-jeu.html b/templates/chat-resultat-jeu.html index 2dc5247e..593bf6ff 100644 --- a/templates/chat-resultat-jeu.html +++ b/templates/chat-resultat-jeu.html @@ -12,4 +12,4 @@ {{/if}} {{> "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}} diff --git a/templates/chat-resultat-musique.html b/templates/chat-resultat-musique.html index eaf9096d..19eb1966 100644 --- a/templates/chat-resultat-musique.html +++ b/templates/chat-resultat-musique.html @@ -12,4 +12,4 @@ {{/if}} {{> "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}} diff --git a/templates/chat-resultat-oeuvre.html b/templates/chat-resultat-oeuvre.html index 447f7897..9ad5a6fe 100644 --- a/templates/chat-resultat-oeuvre.html +++ b/templates/chat-resultat-oeuvre.html @@ -13,4 +13,4 @@ {{/if}} {{> "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}} diff --git a/templates/chat-resultat-recettecuisine.html b/templates/chat-resultat-recettecuisine.html index a47a3053..0f44b903 100644 --- a/templates/chat-resultat-recettecuisine.html +++ b/templates/chat-resultat-recettecuisine.html @@ -21,4 +21,4 @@ {{/if}} {{> "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}} diff --git a/templates/chat-resultat-sort.html b/templates/chat-resultat-sort.html index b17920a9..2c4dde41 100644 --- a/templates/chat-resultat-sort.html +++ b/templates/chat-resultat-sort.html @@ -24,6 +24,6 @@

- +
{{{selectedSort.data.description}}} - +
diff --git a/templates/chat-vente-item.html b/templates/chat-vente-item.html index c4774436..aeeb10e8 100644 --- a/templates/chat-vente-item.html +++ b/templates/chat-vente-item.html @@ -3,7 +3,7 @@ {{#if item.img}} {{/if}} -

{{{item.data.description}}}

+
{{{item.data.description}}}

{{#each properties as |property p|}} {{{property}}}