From 50678fcfaaea5ef8f78ba6d2c7b96812d15506c1 Mon Sep 17 00:00:00 2001 From: Kakabay Date: Sat, 21 Jan 2023 14:02:37 +0500 Subject: [PATCH] nav layout flex->grid --- src/styles/_header.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/styles/_header.scss b/src/styles/_header.scss index 444c3e5..fd79df5 100644 --- a/src/styles/_header.scss +++ b/src/styles/_header.scss @@ -65,8 +65,8 @@ // SUBHEADER .subheader-inner { - display: flex; - align-items: center; + display: grid; + grid-template-columns: 42rem 10rem 41rem; justify-content: space-between; gap: 1.6rem; } @@ -128,6 +128,7 @@ display: flex; align-items: center; gap: 0.8rem; + cursor: pointer; span { font-size: 1.6rem; @@ -142,10 +143,12 @@ // SEARCH .search-wrapper { + width: 100%; + max-width: 32rem; + form { position: relative; width: 100%; - max-width: 32rem; background: transparent; display: block; border: 0.1rem solid $gray;