diff --git a/umap/static/umap/content.css b/umap/static/umap/content.css index d55b58a7..3ba0329b 100644 --- a/umap/static/umap/content.css +++ b/umap/static/umap/content.css @@ -19,6 +19,18 @@ input:-moz-placeholder, :-moz-placeholder { .search-form { display: flex; align-items: baseline; + gap: calc(var(--gutter) / 2); + max-width: 800px; + margin: 0 auto; +} +.search-form select { + max-width: 200px; +} +.search-form input[type=submit] { + min-width: 200px; +} +.flex-break { + justify-content: center; } @@ -555,4 +567,9 @@ dialog::backdrop { .mhide { display: none; } + .flex-break { + flex-direction: column; + align-items: center; + } + } diff --git a/umap/templates/umap/search_bar.html b/umap/templates/umap/search_bar.html index c4efe694..17588e70 100644 --- a/umap/templates/umap/search_bar.html +++ b/umap/templates/umap/search_bar.html @@ -4,25 +4,19 @@ {% trans "Search maps" as default_placeholder %}
-
-
- -
-
- -
-
- -
+ + + +