Bläddra i källkod

Fix icon alignment

master
Fen Dweller 5 år sedan
förälder
incheckning
0c5fbd8993
1 ändrade filer med 9 tillägg och 2 borttagningar
  1. +9
    -2
      src/components/Statblock.vue

+ 9
- 2
src/components/Statblock.vue Visa fil

@@ -154,10 +154,14 @@ a {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
user-select: none;
text-align: center;
}

.stat-value {
position: absolute;
transform: translate(0, 8pt);
padding-top: 4pt;
padding-bottom: 4pt;
}
@@ -191,9 +195,12 @@ a {
color: #bbb;
}

.stat-entry i {
font-size: 150%;
.stat-entry > i {
font-size: 16pt;
width: 16pt;
margin-bottom: 18pt;
}

.stat-entry.low {
color: yellow;
}


Laddar…
Avbryt
Spara