summaryrefslogtreecommitdiff
path: root/assets/css/components
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-02 21:43:36 +0800
committerEltrac <hi@guhub.cn>2025-02-02 21:43:36 +0800
commit5fa06882aa801233e6f55746297b9f6dacbfc429 (patch)
treeebcc16f926f9b64944b6a9524640380e702b082f /assets/css/components
parent9a302b57987e69b275cd58a73ceb582eac42fb9b (diff)
fix(theme): details icon not hidden in some browser
Former-commit-id: c3294969f78553ed759bbcfef267bf177342cc17
Diffstat (limited to 'assets/css/components')
-rw-r--r--assets/css/components/_pages.scss26
1 files changed, 14 insertions, 12 deletions
diff --git a/assets/css/components/_pages.scss b/assets/css/components/_pages.scss
index 503af72e..d9ac3efc 100644
--- a/assets/css/components/_pages.scss
+++ b/assets/css/components/_pages.scss
@@ -260,18 +260,20 @@ section.taxonomy {
}
.posts-month-archive {
- summary {
- list-style: none;
-
- .posts-month-title {
- font-size: 1.1rem;
- border-bottom: 1px dashed var(--border-color);
- display: inline-block;
- width: 100%;
- padding: 0.5rem 0.25rem;
- margin: 0;
- @include section-title;
- }
+ details, summary {
+ appearance: none;
+ list-style-type: none;
+ -webkit-appearance: none;
+ &::marker { display: none }
+ }
+ .posts-month-title {
+ font-size: 1.1rem;
+ border-bottom: 1px dashed var(--border-color);
+ display: inline-block;
+ width: 100%;
+ padding: 0.5rem 0.25rem;
+ margin: 0;
+ @include section-title;
}
}
}