diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-02 21:43:36 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-02 21:43:36 +0800 |
| commit | c3294969f78553ed759bbcfef267bf177342cc17 (patch) | |
| tree | ddb5cbb9e2c26fd9e9b61bafd81beff23fa0edeb /assets/css/components | |
| parent | 633ed98ce80185fb7cb1f2fe751c1c359398b533 (diff) | |
fix(theme): details icon not hidden in some browser
Diffstat (limited to 'assets/css/components')
| -rw-r--r-- | assets/css/components/_pages.scss | 26 |
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; } } } |
