From 9952cfb2dafafd77abb305173dcfe1a0000c5150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 6 Jun 2023 20:29:02 +0200 Subject: [PATCH] tabs: fix issues with FF :has() selector #551 --- static/css/theme.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/css/theme.css b/static/css/theme.css index b359b24c2a..9623b5cb4e 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1921,7 +1921,6 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right { padding: 1rem; } /* remove margin if only a single code block is contained in the tab */ -#body .tab-content-text:has(> div.highlight:only-child), #body .tab-content.tab-panel-style.code > .tab-content-text{ padding: 0; } @@ -1929,7 +1928,3 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right { #body .tab-content-text > div.highlight:only-child > pre{ border: 0; } -#body .tab-content-text pre{ - margin-bottom: 0; - margin-top: 0; -}