Skip to content

Commit b514eca

Browse files
committed
[bug] fix header shade transition on scroll
1 parent bf09fcd commit b514eca

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

‎css/header.css‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
}
2525

2626
.header-shade{
27+
background-color: transparent;
2728
content:"";
2829
display: block;
2930
position: absolute;
@@ -42,6 +43,11 @@
4243
background-color:rgba(var(--header-shade-color),var(--header-shade-opacity));
4344
}
4445

46+
.is-header-shade-style-scroll .header-shade{
47+
transition: background-color var(--animation-speed-slow) ease-in-out;
48+
animation: none;
49+
}
50+
4551
.header-area{
4652
padding:calc(var(--gutter) *var(--layout-padding-multiplier));
4753
position: relative;
@@ -60,11 +66,6 @@
6066
border-radius:calc(var(--theme-radius) *4);
6167
}
6268

63-
.is-header-shade-style-scroll .header-area{
64-
transition: background-color var(--animation-speed-slow) ease-in-out;
65-
animation: none;
66-
}
67-
6869
.is-header-search-text-align-left .header-search-input{
6970
text-align: left;
7071
}

‎js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
varversion=(function(){
22

33
// version is normally bumped when the state needs changing or any new functionality is added
4-
varcurrent="3.9.1";
4+
varcurrent="3.9.2";
55

66
varcompare=function(a,b){
77
varpa=a.split(".");

0 commit comments

Comments
(0)