diff --git a/frontend/app/search/search-query.html b/frontend/app/search/search-query.html index 509fce75..da2a0438 100644 --- a/frontend/app/search/search-query.html +++ b/frontend/app/search/search-query.html @@ -1,4 +1,4 @@ -
+
@@ -14,9 +14,7 @@
- {{hasSearchResults = searchResults.views.length || searchResults.features.length > 0 || (searchResults.types | fmPropertyCount) > 0; ""}} - -
No results have been found.
+
No results have been found.
diff --git a/frontend/app/search/search-query.scss b/frontend/app/search/search-query.scss index f010a23e..4b0b4352 100644 --- a/frontend/app/search/search-query.scss +++ b/frontend/app/search/search-query.scss @@ -10,8 +10,20 @@ min-height: 42px; min-width: 260px; - .fm-hasResults & { - min-height: 75px; + &.has-nothing { + min-height: 104px; + } + + &.has-search-results { + min-height: 180px; + + &.has-map-results { + min-height: 343px; + } + } + + &.has-map-results { + min-height: 184px; } &.fm-search-resized { @@ -23,6 +35,7 @@ overflow: auto; white-space: nowrap; flex-grow: 1; + min-height: 105px; } .no-results {