[Fix] fix header(navbar) position to sticky
This commit is contained in:
parent
796c6b1c44
commit
87af6ce6b3
@ -35,7 +35,8 @@ $font-header-apply: "Noto Serif CJK TC -Black";
|
|||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
|
||||||
&--sticky {
|
&--sticky {
|
||||||
position: fixed;
|
// position: fixed;
|
||||||
|
position: sticky;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
left: 6%;
|
left: 6%;
|
||||||
top: 65px;
|
top: 65px;
|
||||||
|
@ -130,7 +130,7 @@ $font-home-button: "Noto Serif CJK TC -Black";
|
|||||||
|
|
||||||
.section {
|
.section {
|
||||||
&-title {
|
&-title {
|
||||||
margin-top: 150px;
|
margin-top: 88px;
|
||||||
@include sectionTitleHeight;
|
@include sectionTitleHeight;
|
||||||
// background-color: chartreuse;
|
// background-color: chartreuse;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user