fixed a bug where the buttons in a .combatant-row weren't aligned vertically

This commit is contained in:
Tobias 2023-09-20 12:48:36 +02:00
parent 0ac27e32e2
commit 97b2d61e5f

View File

@ -307,6 +307,7 @@ header.navbar {
color: $fg; color: $fg;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
vertical-align: middle;
.sr2-button { .sr2-button {
height: 1.3rem; height: 1.3rem;
@ -330,7 +331,13 @@ header.navbar {
.combatant-actions { .combatant-actions {
--aug-border-right: 2px; --aug-border-right: 2px;
display: flex; display: flex;
min-height: 2rem;
min-width: 5rem; min-width: 5rem;
> div {
display: flex;
align-items: center;
}
} }
.actions-menu { .actions-menu {
@ -345,22 +352,14 @@ header.navbar {
} }
} }
.max-ini td { .max-ini td { text-shadow: 0 0 .15rem $fg; }
text-shadow: 0 0 .15rem $fg;
}
.zero-ini td { .zero-ini td { color: $fg-dark; }
color: $fg-dark;
svg { fill: $fg-dark; }
}
.ko-or-dead td { .ko-or-dead td {
background-color: rgba(0, 0, 0, .5); background-color: rgba(0, 0, 0, .5);
color: $fg-dark; color: $fg-dark;
text-decoration: line-through .1rem $fg; text-decoration: line-through .1rem $fg;
.sr2-button svg { fill: $fg-dark; }
} }
.badge.bg-warning { .badge.bg-warning {
@ -379,12 +378,6 @@ header.navbar {
top: .3rem; top: .3rem;
} }
.damage-dropdown,
.actions-dropdown {
display: inline-block;
position: relative; // required in order to center dropdowns vertically
}
.damage-monitor, .damage-monitor,
.actions-menu { .actions-menu {
@include aug; @include aug;