Skip to content

Commit 15ca1fc

Browse files
committed
site: fix tabs CSS
1 parent 9c2840b commit 15ca1fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

site/static/css/tabs.css

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ div.code-tabs li.nav-tab {
2020
border-left: 1px solid #ccc;
2121
border-right: 1px solid #ccc;
2222
margin-right: 0.5em;
23+
margin-bottom: 0;
2324

2425
border-top-left-radius: 4px;
2526
border-top-right-radius: 4px;
@@ -52,6 +53,10 @@ div.code-tabs div.highlight {
5253
background-color: #fff;
5354
}
5455

56+
.tab-content .tab-pane .highlight {
57+
margin-top: 1.25em;
58+
margin-bottom: 1.25em;
59+
}
5560

5661
div.code-tabs a.nav-tab {
5762
all: unset;

0 commit comments

Comments
 (0)