Keep injury icons centered inside their badges
This commit is contained in:
parent
a54e009e28
commit
1db45b8192
2 changed files with 5 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -108,6 +108,9 @@
|
|||
}
|
||||
.injury {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
left: 0;
|
||||
top: 8%;
|
||||
border-radius: 10px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue