From 9cd87659c38069a6ba3af5ff55942354ba130871 Mon Sep 17 00:00:00 2001 From: NetworkCats Date: Thu, 5 Mar 2026 03:00:26 +0800 Subject: [PATCH] fix: reduce FAQ disclosure triangle size and spacing --- static/style.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 2c26cd6..3bc4aa9 100644 --- a/static/style.css +++ b/static/style.css @@ -197,15 +197,25 @@ main { font-weight: 600; color: var(--color-label); cursor: pointer; - list-style: disclosure-closed inside; + list-style: none; + display: flex; + align-items: baseline; + gap: 6px; - &::marker { + &::-webkit-details-marker { + display: none; + } + + &::before { + content: "\25B8"; + font-size: 11px; color: var(--color-label-secondary); + flex-shrink: 0; } } - details[open] > summary { - list-style: disclosure-open inside; + details[open] > summary::before { + content: "\25BE"; } .faq-content {