Keep injury icons centered inside their badges

This commit is contained in:
coyotte508 2026-09-19 14:03:54 +02:00
commit 1db45b8192
2 changed files with 5 additions and 2 deletions

View file

@ -403,14 +403,14 @@ button:active:not(:disabled) {
.amoeba-button:active:not(:disabled) {
transform: translate(-50%, -50%);
}
.amoeba-button svg {
.amoeba-button > svg {
width: 100%;
height: 100%;
overflow: visible;
animation: bob 3.8s ease-in-out infinite;
animation-delay: var(--delay);
}
.amoeba-button:hover svg {
.amoeba-button:hover > svg {
filter: brightness(1.07);
}
.amoeba-button.selected:before {

View file

@ -108,6 +108,9 @@
}
.injury {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
left: 0;
top: 8%;
border-radius: 10px;