forked from public/fvtt-cthulhu-eternal
		
	Reduce default icon size, Fix #27
This commit is contained in:
		| @@ -682,7 +682,7 @@ i.fvtt-cthulhu-eternal { | ||||
|   align-items: center; | ||||
|   gap: 4px; | ||||
|   min-width: 13rem; | ||||
|   max-width: 13srem; | ||||
|   max-width: 13rem; | ||||
| } | ||||
| .fvtt-cthulhu-eternal .tab.protagonist-equipment .weapons .weapon .rollable:hover, | ||||
| .fvtt-cthulhu-eternal .tab.protagonist-equipment .weapons .weapon .rollable:focus { | ||||
| @@ -694,12 +694,12 @@ i.fvtt-cthulhu-eternal { | ||||
|   max-width: 2rem; | ||||
| } | ||||
| .fvtt-cthulhu-eternal .tab.protagonist-equipment .weapons .weapon .damage { | ||||
|   min-width: 5rem; | ||||
|   max-width: 5rem; | ||||
|   min-width: 6rem; | ||||
|   max-width: 6rem; | ||||
| } | ||||
| .fvtt-cthulhu-eternal .tab.protagonist-equipment .weapons .weapon .name { | ||||
|   min-width: 8rem; | ||||
|   max-width: 8rem; | ||||
|   min-width: 10rem; | ||||
|   max-width: 10rem; | ||||
| } | ||||
| .fvtt-cthulhu-eternal .tab.protagonist-equipment .weapons .weapon .item-img { | ||||
|   width: 24px; | ||||
|   | ||||
| @@ -151,7 +151,7 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData | ||||
|     } | ||||
|      | ||||
|     let resourceIndex = Math.max(Math.min(this.resources.permanentRating, 20), 0) | ||||
|     let breakdown = SYSTEM.RESOURCE_BREAKDOWN[this.resources.resourceIndex]  | ||||
|     let breakdown = SYSTEM.RESOURCE_BREAKDOWN[resourceIndex]  | ||||
|     if (this.resources.hand !== breakdown.hand) { | ||||
|       updates[`system.resources.hand`] = breakdown.hand | ||||
|     } | ||||
|   | ||||
| @@ -466,7 +466,7 @@ | ||||
|       align-items: center; | ||||
|       gap: 4px; | ||||
|       min-width: 13rem; | ||||
|       max-width: 13srem; | ||||
|       max-width: 13rem; | ||||
|       .rollable:hover, | ||||
|       .rollable:focus { | ||||
|         text-shadow: 0 0 8px var(--color-shadow-primary); | ||||
| @@ -477,12 +477,12 @@ | ||||
|         max-width: 2rem; | ||||
|       } | ||||
|       .damage { | ||||
|         min-width: 5rem; | ||||
|         max-width: 5rem; | ||||
|         min-width: 6rem; | ||||
|         max-width: 6rem; | ||||
|       } | ||||
|       .name { | ||||
|         min-width: 8rem; | ||||
|         max-width: 8rem; | ||||
|         min-width: 10rem; | ||||
|         max-width: 10rem; | ||||
|       } | ||||
|       .item-img { | ||||
|         width: 24px; | ||||
|   | ||||
| @@ -9,12 +9,17 @@ | ||||
|       {{#each weapons as |item|}} | ||||
|       {{!log 'weapon' this}} | ||||
|       <div class="weapon item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true"> | ||||
|  | ||||
|         <img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" /> | ||||
|         <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> | ||||
|         <div class="name rollable" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}"> | ||||
|           {{item.name}} | ||||
|         </div> | ||||
|  | ||||
|         <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> | ||||
|         <a class="damage rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage" | ||||
|           data-roll-value="{{item.system.damage}}">{{localize "CTHULHUETERNAL.Label.damageShort"}} : | ||||
|           data-roll-value="{{item.system.damage}}"> | ||||
|           {{localize "CTHULHUETERNAL.Label.damageShort"}} : | ||||
|           {{item.system.damage}}</a> | ||||
|         <div class="controls"> | ||||
|           <a data-tooltip="{{localize 'CTHULHUETERNAL.Edit'}}" data-action="edit" data-item-id="{{item.id}}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user