Skip to content

Commit 263c2c2

Browse files
committed
make css selectors specific to the tabset (otherwise navbar stuff gets selected)
1 parent d8bedae commit 263c2c2

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

03_labour_main.qmd

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,34 @@ include-in-header:
1313
grid-gap: 0;
1414
grid-template-columns: 15% 85%;
1515
}
16-
1716
.panel-tabset-tabby {
1817
border: none !important;
1918
text-align: right;
2019
}
21-
22-
h3 {
23-
margin-top: 0;
24-
}
25-
26-
.nav-tabs {
20+
.panel-tabset .nav-tabs {
2721
display: flex !important;
2822
flex-direction: column !important;
2923
flex-wrap: nowrap !important;
3024
border: solid transparent !important;
3125
}
32-
.nav-tabs .nav-link:hover {
26+
.panel-tabset .nav-tabs .nav-link:hover {
3327
text-decoration: underline !important;
3428
border: solid transparent !important;
3529
}
36-
37-
.nav-item {
30+
.panel-tabset .nav-item {
3831
display: block !important;
3932
width: 100% !important;
4033
margin-bottom: 0 !important;
4134
flex: none !important;
4235
}
43-
44-
.nav-link {
36+
.panel-tabset .nav-link {
4537
font-size: 0.75rem !important;
4638
text-align: right !important;
4739
padding: 0 2px;
4840
margin: 0 1px !important;
4941
line-height: normal !important;
5042
}
51-
.tab-content {
43+
.panel-tabset .tab-content {
5244
border: none;
5345
}
5446

0 commit comments

Comments
 (0)