fix android problem

This commit is contained in:
isUnknown 2024-09-05 07:14:53 +02:00
parent ec353d92ac
commit 2382712383
4 changed files with 7 additions and 4 deletions

View file

@ -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);
}

View file

@ -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;
} }

View file

@ -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;

View file

@ -69,6 +69,8 @@ function enableToggleEntriesVisibility() {
}); });
observer.observe(entries); observer.observe(entries);
leftBtn.classList.add("transition");
rightBtn.classList.add("transition");
} }
function toggleLogoState() { function toggleLogoState() {