Skip to content

Commit ab7d5b1

Browse files
committed
fix: anchors in tabs
1 parent 91f7a28 commit ab7d5b1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/scss/_anchor.scss

+7-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
.yfm-anchor::before {
1515
content: '#';
1616
visibility: hidden;
17-
position: absolute;
18-
19-
padding-right: 2px;
2017
}
2118

2219
&:hover .yfm-anchor::before {
@@ -33,4 +30,11 @@
3330
}
3431
}
3532
};
33+
34+
.yfm-tabs {
35+
.yfm-anchor::before {
36+
position: absolute;
37+
padding-right: 2px;
38+
}
39+
}
3640
}

0 commit comments

Comments
 (0)