Get the base favourite mechanism working so the items are visible on the skills card
This commit is contained in:
parent
7d39c487dc
commit
c495f45015
14 changed files with 165 additions and 27 deletions
|
|
@ -118,6 +118,24 @@
|
|||
{{ ammo }}
|
||||
</div>
|
||||
</div>
|
||||
{{#each favouriteAmmo as | data |}}
|
||||
{{#if data}}
|
||||
<div
|
||||
class="half-pill fav-ammo"
|
||||
data-item-id="{{data.uuid}}"
|
||||
>
|
||||
<label for="{{@root.meta.idp}}-{{data.uuid}}-quantity">
|
||||
{{data.name}}
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
value="{{data.quantity}}"
|
||||
id="{{@root.meta.idp}}-{{data.uuid}}-quantity"
|
||||
>
|
||||
</div>
|
||||
{{else}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
{{!-- * Currencies --}}
|
||||
<div class="currencies">
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
grid-template-rows: repeat(13, minmax(0, 1fr));
|
||||
column-gap: var(--col-gap);
|
||||
row-gap: var(--row-gap);
|
||||
|
||||
background: var(--base-background);
|
||||
color: var(--base-text);
|
||||
|
|
@ -125,8 +126,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
label, .label {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.input {
|
||||
|
||||
input, .input {
|
||||
margin: 2px;
|
||||
border-radius: 999px;
|
||||
text-align: center;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue