Skip to content

Commit

Permalink
tabs: fix issues with FF :has() selector matcornic#551
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jun 6, 2023
1 parent a79f813 commit 9952cfb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1921,15 +1921,10 @@ 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;
}
/* remove border from a code block if single */
#body .tab-content-text > div.highlight:only-child > pre{
border: 0;
}
#body .tab-content-text pre{
margin-bottom: 0;
margin-top: 0;
}

0 comments on commit 9952cfb

Please sign in to comment.