Taille Quantité dans commerces
Agrandissement pour mieux afficher jusqu'à 4 chiffres au cas en cas d'objets en grande quantité, avec d'autres limités
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
| @@ -13,13 +13,13 @@ | ||||
|     </a> | ||||
|   </span> | ||||
|   {{#unless item.parent.system.illimite}} | ||||
|   <span class="equipement-detail flexrow"> | ||||
|   <span class="equipement-detail-buttons flexrow"> | ||||
|     {{#unless (or (eq item.type 'service') (and (eq item.type 'conteneur') (not vide)))}} | ||||
|       {{#if options.isOwner}} | ||||
|       <a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a> | ||||
|       {{/if}} | ||||
|       <input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number"  | ||||
|         class="item-quantite" name="items[{{item._id}}].system.quantite" | ||||
|         class="item-quantite number-x3" name="items[{{item._id}}].system.quantite" | ||||
|         value="{{item.system.quantite}}" /> | ||||
|       {{#if options.isOwner}} | ||||
|       <a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user