mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
🐛 Fix(RWD): add scroll-margin to headerlink
This commit is contained in:
@@ -60,6 +60,15 @@
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.headerLink {
|
||||
[header-mobile] & {
|
||||
scroll-margin-top: 0;
|
||||
}
|
||||
[header-mobile=fixed] & {
|
||||
scroll-margin-top: $header-height;
|
||||
}
|
||||
}
|
||||
|
||||
.categories-card {
|
||||
.card-item {
|
||||
width: 100%;
|
||||
|
||||
@@ -11,19 +11,19 @@
|
||||
[header-desktop=normal] & {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.headerLink {
|
||||
[header-desktop] & {
|
||||
scroll-margin-top: $header-height;
|
||||
}
|
||||
[header-desktop=normal] & {
|
||||
scroll-margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include blur;
|
||||
}
|
||||
|
||||
.headerLink {
|
||||
scroll-margin-top: 0;
|
||||
|
||||
[header-desktop=fixed] &,
|
||||
[header-mobile=fixed] & {
|
||||
scroll-margin-top: $header-height;
|
||||
}
|
||||
}
|
||||
|
||||
@import "_single";
|
||||
@import "_special";
|
||||
@import "_archive";
|
||||
|
||||
Reference in New Issue
Block a user