Move search results to right only on desktop
This commit is contained in:
parent
579a8dcaef
commit
b7c5c4dd5d
1 changed files with 7 additions and 1 deletions
|
@ -8,10 +8,16 @@
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
top: $navbar-height;
|
top: $navbar-height;
|
||||||
right: 0;
|
|
||||||
width: 18rem;
|
width: 18rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move search results to right only on desktop
|
||||||
|
@media (min-width: $desktop) {
|
||||||
|
#autoComplete_list {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.autoComplete_result {
|
.autoComplete_result {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0.6rem;
|
padding: 0.6rem;
|
||||||
|
|
Loading…
Reference in a new issue