From 1ed71e455e943d735c15e481da15f7716fdfd898 Mon Sep 17 00:00:00 2001 From: Tine Date: Mon, 4 Mar 2024 14:46:27 +0100 Subject: [PATCH] fix(index): safari details --- web/static/css/main.css | 11 +++++++++++ web/static/css/tailwind.css | 18 +++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/web/static/css/main.css b/web/static/css/main.css index dbcbc78..885cb6b 100644 --- a/web/static/css/main.css +++ b/web/static/css/main.css @@ -8,6 +8,17 @@ fill: none; } +/* https://stackoverflow.com/a/6202729 */ +details summary::-webkit-details-marker { + display: none; +} +::marker { + display: none; +} +summary { + list-style: none; +} + @tailwind base; @tailwind components; @tailwind utilities; diff --git a/web/static/css/tailwind.css b/web/static/css/tailwind.css index daebbfa..b7c1ddd 100644 --- a/web/static/css/tailwind.css +++ b/web/static/css/tailwind.css @@ -8,9 +8,21 @@ fill: none; } -/* -! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com -*/ +/* https://stackoverflow.com/a/6202729 */ + +details summary::-webkit-details-marker { + display: none; +} + +::marker { + display: none; +} + +summary { + list-style: none; +} + +/* ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com */ /* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)