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}}{{reference}}
{{/if}} - +{{{item.data.description}}}
+
{{#each properties as |property p|}}
{{{property}}}