From d5a4eb479909ff28124c146193feffa6fec2e29e Mon Sep 17 00:00:00 2001 From: Marek Cifra Date: Tue, 24 Dec 2024 22:08:08 +0100 Subject: [PATCH] =?UTF-8?q?search=20fix=20najet=C3=AD=20ven?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Fitmo_frontend/src/views/Header.vue | 59 +++++++++++++++-------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/Fitmo_frontend/src/views/Header.vue b/Fitmo_frontend/src/views/Header.vue index b56949d..b5712d6 100644 --- a/Fitmo_frontend/src/views/Header.vue +++ b/Fitmo_frontend/src/views/Header.vue @@ -118,29 +118,6 @@ Fitmo logo
-
-
-
-
-
-
-
-
-
- Produkty -
-
- -
-
-
-
- +
@@ -520,7 +520,7 @@ header { padding: 0 20px; background: transparent; z-index: 999; - position: relative; + //position: relative; &__wrapper { z-index: 10; @@ -529,7 +529,12 @@ header { position: relative; } + &:focus-within .search__items { + display: flex; + } + &__items { + display: none; position: absolute; background: #fff; top: -3rem; @@ -537,16 +542,12 @@ header { right: 0; // display: none; height: 1500px; - z-index: 99; + z-index: 3; /* margin-right: 20px; */ border-radius: 16px 0 0 16px; overflow: hidden; flex-direction: column; - &.show { - display: block; - } - &__header { width: 100%; min-height: 8rem;