From 450cb8e8998d902732dd448656809e74b82db006 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 10 Dec 2022 15:44:08 +0100 Subject: [PATCH] =?UTF-8?q?Largeur=20des=20comp=C3=A9tences?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajustement de la largeur des colonnes de compétenes en vue simplifiée Déplacement de l'en-tête dans la première ligne de la liste (avec les boutons en vue détaillée) --- styles/simple.css | 3 +++ templates/actor/competence-categorie.html | 16 +++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/styles/simple.css b/styles/simple.css index 724bb2eb..d7658f6d 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -1011,6 +1011,9 @@ ul.list-item-margin6 li { flex-grow: 0; flex-basis: 1; } +div.competence-column div.categorie-competence{ + width: 100%; +} .competence-header { align-content: flex-start; justify-content: flex-start; diff --git a/templates/actor/competence-categorie.html b/templates/actor/competence-categorie.html index c243de13..8c1e8122 100644 --- a/templates/actor/competence-categorie.html +++ b/templates/actor/competence-categorie.html @@ -1,12 +1,13 @@ {{#if competences}} -
-
- {{categorie}} -
+
    - {{#if @root.options.vueDetaillee}}
  • - + +
    + {{categorie}} +
    +
    + {{#if @root.options.vueDetaillee}} Niv. xp {{#if (eq categorie 'Draconic')}} @@ -20,11 +21,12 @@ {{/if}}
+ {{/if}} - {{/if}} {{#each competences as |comp key|}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence.html" comp}} {{/each}} +
  • {{/if}}