From 65806b2d1b2c586bc2542f507efc4863ef8d7ee5 Mon Sep 17 00:00:00 2001 From: "johannes.vos" Date: Mon, 1 Jun 2026 16:59:32 +0200 Subject: [PATCH] refactor: update search bar visibility and layout for better responsiveness --- src/features/nav/components/Navbar.vue | 7 +++ .../search/views/SearchResultsView.vue | 47 ++++++++++++++++--- 2 files changed, 47 insertions(+), 7 deletions(-) diff --git a/src/features/nav/components/Navbar.vue b/src/features/nav/components/Navbar.vue index e8a6482..473053f 100644 --- a/src/features/nav/components/Navbar.vue +++ b/src/features/nav/components/Navbar.vue @@ -89,7 +89,14 @@ watch(() => route.query.q, q => { height: 24px; width: auto; } + .search-bar { width: 70%; } + +@media (max-width: 1000px) { + .search-bar { + display: none; + } +} diff --git a/src/features/search/views/SearchResultsView.vue b/src/features/search/views/SearchResultsView.vue index 62b7f4e..df8680a 100644 --- a/src/features/search/views/SearchResultsView.vue +++ b/src/features/search/views/SearchResultsView.vue @@ -16,26 +16,59 @@ limitations under the License.