浏览代码

Fix icon alignment

master
Fen Dweller 5 年前
父节点
当前提交
0c5fbd8993
共有 1 个文件被更改,包括 9 次插入2 次删除
  1. +9
    -2
      src/components/Statblock.vue

+ 9
- 2
src/components/Statblock.vue 查看文件

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


正在加载...
取消
保存