From 6fb40ae6661e864295cd345562843e6f125a4f00 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 9 Jun 2025 21:58:32 +0200 Subject: [PATCH] Affichage acteur sur une ligne dans l'astrologie --- changelog.md | 2 ++ css/foundryvtt-reve-de-dragon.css | 6 +++++- less/foundryvtt-reve-de-dragon.less | 6 +++++- templates/sommeil/astrologie-gardien.hbs | 5 +++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index b6910bf8..ef7db3b1 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,8 @@ - Corrections v13 - Affichage des images et noms d'objets en ligne - affichage des compétences de créature sur une ligne + - Affichage des informations d'acteur sur une ligne dans l'astrologie + ## 13.0.0 - Le début de l'errance d'Illysis diff --git a/css/foundryvtt-reve-de-dragon.css b/css/foundryvtt-reve-de-dragon.css index a2bbf114..3c75b09d 100644 --- a/css/foundryvtt-reve-de-dragon.css +++ b/css/foundryvtt-reve-de-dragon.css @@ -1593,9 +1593,13 @@ select, .system-foundryvtt-reve-de-dragon table.table-nombres-astraux th > td { font-size: 1rem; } -.system-foundryvtt-reve-de-dragon table.table-nombres-astraux tr > td { +.system-foundryvtt-reve-de-dragon table.table-nombres-astraux tr td { font-size: 0.8rem; } +.system-foundryvtt-reve-de-dragon table.table-nombres-astraux tr td.info-acteur { + flex-direction: row; + display: flex; +} .system-foundryvtt-reve-de-dragon table.table-nombres-astraux :is(tr, th, td) { border-style: solid; border-width: 1px; diff --git a/less/foundryvtt-reve-de-dragon.less b/less/foundryvtt-reve-de-dragon.less index 4b9040f9..781a38cb 100644 --- a/less/foundryvtt-reve-de-dragon.less +++ b/less/foundryvtt-reve-de-dragon.less @@ -1280,9 +1280,13 @@ table.table-nombres-astraux th >td { font-size: 1rem; } - table.table-nombres-astraux tr >td { + table.table-nombres-astraux tr td { font-size: 0.8rem; } + table.table-nombres-astraux tr td.info-acteur { + flex-direction: row; + display: flex; + } table.table-nombres-astraux :is(tr, th, td) { border-style: solid; border-width: 1px; diff --git a/templates/sommeil/astrologie-gardien.hbs b/templates/sommeil/astrologie-gardien.hbs index 592b29b5..63ab1a1c 100644 --- a/templates/sommeil/astrologie-gardien.hbs +++ b/templates/sommeil/astrologie-gardien.hbs @@ -36,9 +36,10 @@ {{#each gmAstrologie.ajustementsActors as |ajustementActeur|}} - + - {{actor.name}} {{timestamp-imgSigneHeure actor.system.heure}} + {{actor.name}} + {{timestamp-imgSigneHeure actor.system.heure}} {{#each ajustementActeur.ajustements as |ajustement|}} {{#if (ne ajustement.ajustement 0)}}