Skip to content
Snippets Groups Projects
Commit 63a980df authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fix suggestion container visible on small screens

parent 61e59bb1
No related branches found
No related tags found
1 merge request!2137Translated using Weblate (German)
...@@ -14,6 +14,8 @@ let suggest_timeout = null; ...@@ -14,6 +14,8 @@ let suggest_timeout = null;
let suggestions_container = searchbar_container.querySelector(".suggestions"); let suggestions_container = searchbar_container.querySelector(".suggestions");
if (!suggestions_container) { if (!suggestions_container) {
return; return;
} else {
suggestions_container.style.display = "grid";
} }
let suggestion_url_partner = suggestions_container.dataset.partners; let suggestion_url_partner = suggestions_container.dataset.partners;
let suggestion_url = suggestions_container.dataset.suggestions; let suggestion_url = suggestions_container.dataset.suggestions;
......
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
> .suggestions { > .suggestions {
--highlight-color: @highlight-color; --highlight-color: @highlight-color;
display: grid; display: grid;
display: none;
overflow: hidden; overflow: hidden;
border-left: initial; border-left: initial;
border-top: 0; border-top: 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment