[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;
|
||||
|
||||
&--sticky {
|
||||
position: fixed;
|
||||
// position: fixed;
|
||||
position: sticky;
|
||||
z-index: 99;
|
||||
left: 6%;
|
||||
top: 65px;
|
||||
|
@ -130,7 +130,7 @@ $font-home-button: "Noto Serif CJK TC -Black";
|
||||
|
||||
.section {
|
||||
&-title {
|
||||
margin-top: 150px;
|
||||
margin-top: 88px;
|
||||
@include sectionTitleHeight;
|
||||
// background-color: chartreuse;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user