summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-09-25 13:56:47 +0800
committerEltrac Koalar <hi@guhub.cn>2022-09-25 13:56:47 +0800
commit2058aa543a6b41f7d68d8768082c422bfef9dbf0 (patch)
tree4cc9d7be614cea75341669733a0d41bab9e22fdd
parent9fb48652f7ef84ddd5ab55bce5b9f670f8837c1e (diff)
:bug: Fix: 相关链接 a 标签高度溢出
-rw-r--r--assets/matcha/matcha.page.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/assets/matcha/matcha.page.css b/assets/matcha/matcha.page.css
index 865f24d..57f47ef 100644
--- a/assets/matcha/matcha.page.css
+++ b/assets/matcha/matcha.page.css
@@ -575,7 +575,9 @@
border: 2px solid var(--light-gray-bg);
box-sizing: border-box;
transition: border-color .3s;
- margin-bottom: 1em
+ margin-bottom: 1em;
+ display: flex;
+ align-items: stretch
}
@media (min-width: 674px) {
.indexlink-item {
@@ -599,7 +601,7 @@
display: block;
color: var(--text-color);
padding: 1.2em;
- height: 100%
+ width: 100%
}
.indexlink-item a h2 {