From 3100912212547226076f82bc8b247dca48c88aab Mon Sep 17 00:00:00 2001 From: oliviareichl Date: Tue, 15 Oct 2024 16:13:32 +0200 Subject: [PATCH] chore: make the search form and app header responsive for mobile --- components/app-header.vue | 86 ++++++++++++++------- components/search-data-table/data-table.vue | 2 +- components/search-form.vue | 21 +---- components/ui/drawer/Drawer.vue | 18 +++++ components/ui/drawer/DrawerContent.vue | 32 ++++++++ components/ui/drawer/DrawerDescription.vue | 23 ++++++ components/ui/drawer/DrawerFooter.vue | 15 ++++ components/ui/drawer/DrawerHeader.vue | 15 ++++ components/ui/drawer/DrawerOverlay.vue | 22 ++++++ components/ui/drawer/DrawerTitle.vue | 23 ++++++ components/ui/drawer/index.ts | 8 ++ package.json | 1 + pages/search.vue | 41 ++++++++-- pnpm-lock.yaml | 17 ++++ 14 files changed, 269 insertions(+), 55 deletions(-) create mode 100644 components/ui/drawer/Drawer.vue create mode 100644 components/ui/drawer/DrawerContent.vue create mode 100644 components/ui/drawer/DrawerDescription.vue create mode 100644 components/ui/drawer/DrawerFooter.vue create mode 100644 components/ui/drawer/DrawerHeader.vue create mode 100644 components/ui/drawer/DrawerOverlay.vue create mode 100644 components/ui/drawer/DrawerTitle.vue create mode 100644 components/ui/drawer/index.ts diff --git a/components/app-header.vue b/components/app-header.vue index c5206fd..95358a6 100644 --- a/components/app-header.vue +++ b/components/app-header.vue @@ -1,9 +1,9 @@