1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-08 08:44:15 +08:00

fix(AppBar): search bar displacement when scrolling on desktop

This commit is contained in:
2026-03-07 22:42:35 +08:00
parent 3b17ade7f7
commit b4c6347538

View File

@@ -233,6 +233,10 @@
transition: opacity var(--md-sys-motion-spring-fast-effect-duration) var(--md-sys-motion-spring-fast-effect);
}
}
&.hidden {
top: 0px;
}
}
&.scroll {
@@ -246,10 +250,8 @@
&.hidden {
top: -64px;
}
}
@media screen and (max-width: 840px) {
.AppBar {
@media screen and (max-width: 840px) {
top: 0;
width: 100%;