Skip to content

Commit 2c530c2

Browse files
authored
Improve "look and feel" of tabs to make it clearer where they start/end (#26828)
* improve "look and feel" of tabs to make it clearer where they start/end * add border-radius to tab-pane * remove the .td-content .hightlight margin when inside the tab-content
1 parent 51aa022 commit 2c530c2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

assets/scss/_base.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,3 +869,22 @@ body.td-documentation {
869869
display: none;
870870
}
871871
}
872+
873+
// nav-tabs and tab-content
874+
.nav-tabs {
875+
border-bottom: none !important;
876+
}
877+
878+
.td-content .tab-content .highlight {
879+
margin: 0;
880+
}
881+
882+
.tab-pane {
883+
border-radius: 0.25rem;
884+
padding: 0 16px 16px;
885+
886+
border: 1px solid #dee2e6;
887+
&:first-of-type.active {
888+
border-top-left-radius: 0;
889+
}
890+
}

0 commit comments

Comments
 (0)