From 272fcf93c64005b06249690815bb320ad66b9798 Mon Sep 17 00:00:00 2001 From: enes Date: Wed, 7 Aug 2024 11:11:07 +0200 Subject: [PATCH] fix: search bar scaling --- src/pages/home/style.module.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/home/style.module.scss b/src/pages/home/style.module.scss index 21aeb30..bd0dc08 100644 --- a/src/pages/home/style.module.scss +++ b/src/pages/home/style.module.scss @@ -19,11 +19,11 @@ .actionButtons { display: flex; - justify-content: center; + justify-content: end; align-items: center; gap: 10px; - margin-left: auto; padding: 1.5px 0; + flex-grow: 1; } .search { @@ -37,6 +37,12 @@ outline: solid 1px #dddddd; background: white; + width: 100%; + + @container (width >= 610px) { + max-width: 246px; + } + &:focus-within { outline-color: $primary-main; }