From 5365ca76cec7e35214e574ab61761fa29d85bbc6 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Sat, 7 Sep 2024 20:02:16 +0000 Subject: [PATCH] ui(code-search): webkit hack to hide marker for summary tags closes forgejo/forgejo#5259 --- web_src/css/repo.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index d4dc140f09..3bc1a1e6e1 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1747,6 +1747,13 @@ td .commit-summary { color: inherit; } +/* workaround for safari as it does not support 'display: list-item' for summary tags yet +** see https://codeberg.org/forgejo/forgejo/issues/5259 */ +details.repo-search-result summary::-webkit-details-marker, +details.repo-search-result summary::marker { + display: none; +} + .search-highlight { background: var(--color-primary-alpha-40); }