Get the item list styles finished, and start working on the weight summary / carry capacity for the tab
This commit is contained in:
parent
96eccc62f2
commit
704ff4672a
8 changed files with 94 additions and 25 deletions
|
|
@ -2,12 +2,7 @@
|
|||
class="item"
|
||||
data-item-uuid="{{uuid}}"
|
||||
>
|
||||
<div
|
||||
class="summary"
|
||||
{{#if canExpand}}
|
||||
data-action="toggleExpand"
|
||||
{{/if}}
|
||||
>
|
||||
<div class="summary">
|
||||
<img
|
||||
src="{{img}}"
|
||||
alt=""
|
||||
|
|
@ -20,9 +15,24 @@
|
|||
type="number"
|
||||
value="{{quantity}}"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="expand-button"
|
||||
data-action="toggleExpand"
|
||||
data-expanded="{{isExpanded}}"
|
||||
{{disabled (not canExpand)}}
|
||||
>
|
||||
<taf-icon
|
||||
name="icons/chevron"
|
||||
var:colour="var(--item-card-header-input-color)"
|
||||
></taf-icon>
|
||||
</button>
|
||||
</div>
|
||||
{{#if canExpand}}
|
||||
<div class="full-details" data-expanded="{{isExpanded}}">
|
||||
<div
|
||||
class="full-details"
|
||||
data-expanded="{{isExpanded}}"
|
||||
>
|
||||
{{{ description }}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue