Hide search bar when scroll
This commit is contained in:
@@ -9,10 +9,15 @@
|
||||
top: 20px;
|
||||
z-index: 10;
|
||||
justify-content: center;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
>* {
|
||||
> * {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
&.hide {
|
||||
transform: translateY(-60px);
|
||||
}
|
||||
}
|
||||
|
||||
.root-content {
|
||||
@@ -99,7 +104,7 @@
|
||||
right: 12px;
|
||||
font-size: 1.6em;
|
||||
|
||||
>*:hover {
|
||||
> *:hover {
|
||||
color: constants.$font-secondary-color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user