From 958526b2196f2c5d9adc967a33c4c3295592a9e0 Mon Sep 17 00:00:00 2001 From: Max <133934232+Kleostro@users.noreply.github.com> Date: Wed, 8 May 2024 09:53:51 +0300 Subject: [PATCH] fix: header styles --- package.json | 1 + src/widgets/Header/view/headerView.module.scss | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6740a5b5..1b0a7210 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "@commercetools/sdk-middleware-http": "^7.0.4", "autoprefixer": "^10.4.19", "isomorphic-fetch": "^3.0.0", + "materialize-css": "^1.0.0-rc.2", "modern-normalize": "^2.0.0", "postcode-validator": "^3.8.20", "vite-plugin-checker": "^0.6.4", diff --git a/src/widgets/Header/view/headerView.module.scss b/src/widgets/Header/view/headerView.module.scss index d80b4572..eba35c1f 100644 --- a/src/widgets/Header/view/headerView.module.scss +++ b/src/widgets/Header/view/headerView.module.scss @@ -7,7 +7,7 @@ display: grid; align-items: center; justify-content: space-between; - grid-template-columns: repeat(4, max-content); + grid-template-columns: repeat(3, max-content); margin-bottom: var(--medium-offset); border-bottom: 10px solid var(--steam-green-800); border-radius: var(--medium-br); @@ -37,7 +37,7 @@ .logoutButton, .changeLanguageButton { - grid-column: 4; + grid-column: 3; border-radius: var(--small-br); padding: calc(var(--extra-small-offset) / 2) var(--extra-small-offset); font: var(--regular-font);