From 912e2c7e5f5bdc1bbdba0ab47f72b4b637d033d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 1 Sep 2021 18:24:01 +0200 Subject: [PATCH] Improve searchbar layout --- .../Assets/scss/components/_searchbar.scss | 5 +- .../Resources/Private/Partials/Mainnav.html | 2 +- .../Private/Templates/Searchbar/Index.html | 394 +++++++++--------- 3 files changed, 201 insertions(+), 200 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss index 6e1f3cf5..cbac0052 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_searchbar.scss @@ -1,8 +1,7 @@ .searchbar { - @apply hidden relative lg:block lg:container lg:px-0 -mt-20 mb-8; - @apply bg-gradient-to-tr from-ep-primary-light via-ep-primary-medium to-ep-primary-dark; + @apply hidden relative lg:block lg:container -mt-20 mb-8; &.sticky { - @apply fixed z-50 top-0 left-0 mt-8 mb-0 inset-x-0 max-w-full shadow-lg; + @apply fixed z-50 top-0 left-0 mt-8 mb-0 inset-x-0 max-w-full px-0 shadow-lg; } } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html index f1878685..54223d8a 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html @@ -74,7 +74,7 @@