瀏覽代碼

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


Loading…
取消
儲存