From 559d4d67f75bb30c1ed3acd1797fb1e9b4a61ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sp=C3=B6ttel?= <1682504+fspoettel@users.noreply.github.com> Date: Wed, 26 Feb 2025 22:53:58 +0100 Subject: [PATCH] fix: summary click events in safari --- src/components/ui/details.module.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ui/details.module.css b/src/components/ui/details.module.css index 5e18c8e4..c459ac38 100644 --- a/src/components/ui/details.module.css +++ b/src/components/ui/details.module.css @@ -6,8 +6,13 @@ margin-top: 0.5rem; } + .details summary::-webkit-details-marker { - display: none; + visibility: hidden; +} + +.details summary > * { + pointer-events: none; } .details-content {