mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
feat: add resources to weapons
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
This commit is contained in:
parent
8c6a470d84
commit
cdc507c5f7
7 changed files with 38 additions and 9 deletions
|
|
@ -243,6 +243,13 @@
|
|||
/ 40px 1fr min-content;
|
||||
column-gap: 8px;
|
||||
|
||||
&:has(> .item-resource, > .item-resources) {
|
||||
grid-template:
|
||||
'img name resource controls' auto
|
||||
'img labels labels labels' 1fr
|
||||
/ 40px 1fr min-content min-content;
|
||||
}
|
||||
|
||||
> .img-portait {
|
||||
grid-area: img;
|
||||
}
|
||||
|
|
@ -251,6 +258,15 @@
|
|||
line-height: 1;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
> .item-resource,
|
||||
> .item-resources {
|
||||
grid-area: resource;
|
||||
align-self: center;
|
||||
|
||||
input {
|
||||
width: 40px;
|
||||
}
|
||||
}
|
||||
> .controls {
|
||||
grid-area: controls;
|
||||
align-self: start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue