浏览代码

Improve sprite styling

Kirk Trombley 2 年之前
父节点
当前提交
e0b3e405b1
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      web/styles.css

+ 8 - 1
web/styles.css

@@ -292,8 +292,15 @@ button.color-select:hover {
   box-shadow: 0px 0px 8px var(--shadow);
 }
 
-.pkmn-tile img {
+.pkmn-tile a {
   height: 64px;
+  display: inline-flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.pkmn-tile img {
+  max-height: 100%;
 }
 
 .pkmn-tile button {