fix android problem
This commit is contained in:
parent
ec353d92ac
commit
2382712383
4 changed files with 7 additions and 4 deletions
|
|
@ -97,3 +97,7 @@ body {
|
||||||
.toggle-btn--right.open::before {
|
.toggle-btn--right.open::before {
|
||||||
content: "-";
|
content: "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.transition {
|
||||||
|
transition: all 0.5s var(--curve-sine);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,6 @@ body[data-template="home"] {
|
||||||
top: calc(var(--unit--vertical) * 4);
|
top: calc(var(--unit--vertical) * 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-btn {
|
|
||||||
transition: all 0.5s var(--curve-sine);
|
|
||||||
}
|
|
||||||
[data-template="home"] .entry-btn {
|
[data-template="home"] .entry-btn {
|
||||||
align-items: start;
|
align-items: start;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
}
|
}
|
||||||
.panel {
|
.panel {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
top: 0;
|
top: 0;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,8 @@ function enableToggleEntriesVisibility() {
|
||||||
});
|
});
|
||||||
|
|
||||||
observer.observe(entries);
|
observer.observe(entries);
|
||||||
|
leftBtn.classList.add("transition");
|
||||||
|
rightBtn.classList.add("transition");
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleLogoState() {
|
function toggleLogoState() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue