[Fix] fix header(navbar) position to sticky
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user