Skip to content
Snippets Groups Projects

Change markdown header tab anchor links to buttons

All threads resolved!
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
@@ -8,15 +8,17 @@
height: auto;
border-bottom: 1px solid $border-color;
li {
li:not(.md-header-toolbar) {
display: flex;
a {
a,
button {
padding: $gl-btn-padding;
padding-bottom: 11px;
font-size: 14px;
line-height: 28px;
color: $gl-text-color-secondary;
border: 0;
border-bottom: 2px solid transparent;
white-space: nowrap;
@@ -33,7 +35,12 @@
}
}
button {
padding-top: 0;
}
&.active a,
&.active button,
a.active {
color: $black;
font-weight: $gl-font-weight-bold;
@@ -42,6 +49,10 @@
color: $black;
}
}
&.md-header-tab button {
line-height: 19px;
}
}
}
Loading