🐛 Fix: add scroll-margin to headerlink

This commit is contained in:
Cell
2021-12-23 21:12:08 +08:00
parent 36d38599c6
commit d1fd26e13f
+6 -1
View File
@@ -16,7 +16,12 @@
}
.headerLink {
scroll-margin-top: 3.5rem;
scroll-margin-top: 0;
[header-desktop=fixed] &,
[header-mobile=fixed] & {
scroll-margin-top: $header-height;
}
}
@import "_single";