tabs: fix issues with FF :has() selector #551

This commit is contained in:
Sören Weber 2023-06-06 20:29:02 +02:00
parent a79f81322a
commit 9952cfb2da
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -1921,7 +1921,6 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right {
padding: 1rem; padding: 1rem;
} }
/* remove margin if only a single code block is contained in the tab */ /* 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{ #body .tab-content.tab-panel-style.code > .tab-content-text{
padding: 0; 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{ #body .tab-content-text > div.highlight:only-child > pre{
border: 0; border: 0;
} }
#body .tab-content-text pre{
margin-bottom: 0;
margin-top: 0;
}