feat: add resources to weapons

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
This commit is contained in:
Gergely Brautigam 2026-07-02 19:56:17 +02:00
parent 8c6a470d84
commit cdc507c5f7
No known key found for this signature in database
GPG key ID: 3763870D61A6E2CA
7 changed files with 38 additions and 9 deletions

View file

@ -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;