Move search results to right only on desktop

This commit is contained in:
Alexandre Iooss 2021-11-05 13:39:14 +01:00
parent 579a8dcaef
commit b7c5c4dd5d

View file

@ -8,10 +8,16 @@
z-index: 100;
padding: 0;
top: $navbar-height;
right: 0;
width: 18rem;
}
// Move search results to right only on desktop
@media (min-width: $desktop) {
#autoComplete_list {
right: 0;
}
}
.autoComplete_result {
margin: 0 auto;
padding: 0.6rem;