From b18caf927bba28c9cd242a7a0947fbb62dab5442 Mon Sep 17 00:00:00 2001 From: wikai <80284758+wikai@users.noreply.github.com> Date: Sun, 6 Oct 2024 20:03:48 +0200 Subject: [PATCH] Add details-marker display:none to hide default FAQ details arrow on iOS --- css/main.css | 5 ++++- css/scss/components/_faq.scss | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 9da2e97..e0fed09 100644 --- a/css/main.css +++ b/css/main.css @@ -1410,7 +1410,7 @@ a:active, .navbar-link:active { -moz-user-select: none; user-select: none; transition: var(--transition-default); - /* Hide marker */ + /* Hide default arrow/marker */ list-style: none; } .faq-accordion summary span { @@ -1421,6 +1421,9 @@ a:active, .navbar-link:active { background-color: var(--color-faqchevronbg); } } +.faq-accordion summary::-webkit-details-marker { + display: none; +} .faq-accordion p { padding-inline: 1.5rem; font-size: var(--fs-body-s); diff --git a/css/scss/components/_faq.scss b/css/scss/components/_faq.scss index 59ce333..fa3e0d1 100644 --- a/css/scss/components/_faq.scss +++ b/css/scss/components/_faq.scss @@ -45,8 +45,11 @@ } } - /* Hide marker */ + /* Hide default arrow/marker */ list-style: none; + &::-webkit-details-marker { + display: none; + } } p {