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:
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user