Explorar el Código

Fix icon alignment

vintage
Fen Dweller hace 5 años
padre
commit
0c5fbd8993
Se han modificado 1 ficheros con 9 adiciones y 2 borrados
  1. +9
    -2
      src/components/Statblock.vue

+ 9
- 2
src/components/Statblock.vue Ver fichero

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


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


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

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


Cargando…
Cancelar
Guardar