File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -678,8 +678,14 @@ header {
678678}
679679
680680.tabs-container : has (
681- > .margin-top--md > [role = 'tabpanel' ] > .theme-code-block : only - child
682- ): not (: has (> .margin-top--md > [role = 'tabpanel' ] > : nth-child (2 ))) {
681+ > .margin-top--md > [role = 'tabpanel' ] > .theme-code-block : only - child
682+ ),
683+ .tabs-container : has (
684+ > .margin-top--md
685+ > [role = 'tabpanel' ]
686+ > .theme-code-block : first-child
687+ + .code-block-footer : last-child
688+ ) {
683689 & > .margin-top--md {
684690 margin-top : 0 !important ;
685691 }
@@ -715,7 +721,7 @@ header {
715721 border-bottom-color : var (--ifm-tabs-color-active-border );
716722 }
717723
718- & [role = 'tabpanel' ] > .theme-code-block : only -child {
724+ & [role = 'tabpanel' ] > .theme-code-block : first -child {
719725 border-top : none;
720726 border-top-left-radius : 0 ;
721727 border-top-right-radius : 0 ;
You can’t perform that action at this time.
0 commit comments