Get the AmmoTracker's in-popover editing working using the foreign document updating
This commit is contained in:
parent
053ab05dcb
commit
05a3db98c8
3 changed files with 23 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
.ripcrypt--AmmoTracker.ripcrypt--AmmoTracker {
|
||||
.ripcrypt--AmmoTracker.ripcrypt--AmmoTracker.ripcrypt--AmmoTracker {
|
||||
color: var(--popover-text);
|
||||
background: var(--popover-background);
|
||||
padding: 4px;
|
||||
|
|
@ -7,10 +7,6 @@
|
|||
--button-text: var(--header-text);
|
||||
--button-background: var(--header-background);
|
||||
|
||||
button {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -23,6 +19,8 @@
|
|||
&:nth-child(even) {
|
||||
color: var(--popover-alt-row-text);
|
||||
background: var(--popover-alt-row-background);
|
||||
--input-text: var(--popover-text);
|
||||
--input-background: var(--popover-background);
|
||||
--button-text: unset;
|
||||
--button-background: unset;
|
||||
}
|
||||
|
|
@ -31,10 +29,9 @@
|
|||
|
||||
.ammo {
|
||||
display: grid;
|
||||
grid-template-columns: 150px 30px min-content;
|
||||
grid-template-columns: 130px 50px min-content;
|
||||
grid-template-rows: min-content;
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
gap: 8px;
|
||||
|
||||
.name {
|
||||
|
|
@ -42,4 +39,9 @@
|
|||
justify-self: left;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
border-radius: 999px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue