From f7595a1bfedbf6b1d3f189d4cb9be48aa037fc26 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 16 Jan 2023 23:20:29 +0100 Subject: [PATCH] =?UTF-8?q?Taille=20Quantit=C3=A9=20dans=20commerces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agrandissement pour mieux afficher jusqu'à 4 chiffres au cas en cas d'objets en grande quantité, avec d'autres limités --- styles/simple.css | 11 +++++++++++ templates/actor/commerce-inventaire-item.html | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/styles/simple.css b/styles/simple.css index b5247d88..ecc54c9f 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -391,6 +391,13 @@ table {border: 1px solid #7a7971;} justify-content: center; text-align: center; } +span.equipement-detail-buttons { + margin: 0; + flex-grow: 1.5; + align-items: center; + justify-content: center; + text-align: center; +} .equipement-button { margin: 0; flex-grow: 0.5; @@ -812,15 +819,19 @@ input:is(.number,.number-x,.number-x2,.number-x3,.number-x4,.number-x5) { } :is(input,select).number-x { max-width: 1.4rem; + min-width: 1rem; } :is(input,select).number-x2 { max-width: 2.4rem; + min-width: 2rem; } :is(input,select).number-x3 { max-width: 3.4rem; + min-width: 3rem; } :is(input,select).number-x4 { max-width: 4.4rem; + min-width: 4rem; } :is(input,select).number-x5 { max-width: 4.4rem; diff --git a/templates/actor/commerce-inventaire-item.html b/templates/actor/commerce-inventaire-item.html index c9f2293c..e057f84c 100644 --- a/templates/actor/commerce-inventaire-item.html +++ b/templates/actor/commerce-inventaire-item.html @@ -13,13 +13,13 @@ {{#unless item.parent.system.illimite}} - + {{#unless (or (eq item.type 'service') (and (eq item.type 'conteneur') (not vide)))}} {{#if options.isOwner}} {{/if}} {{#if options.isOwner}}