Browse Source

Fix icon alignment

master
Fen Dweller 5 years ago
parent
commit
0c5fbd8993
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      src/components/Statblock.vue

+ 9
- 2
src/components/Statblock.vue View File

@@ -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;
}


Loading…
Cancel
Save