From f7a30d41eef951f50acbd9723b8fd7a1670f20c3 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Wed, 11 Oct 2023 00:01:25 +0300 Subject: [PATCH] Fixed modal width --- src/components/Nav/Modal/Modal.module.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Nav/Modal/Modal.module.scss b/src/components/Nav/Modal/Modal.module.scss index 3f5d262a..ebc49a08 100644 --- a/src/components/Nav/Modal/Modal.module.scss +++ b/src/components/Nav/Modal/Modal.module.scss @@ -17,10 +17,13 @@ background: #fff; max-width: 1000px; position: relative; - width: 100%; - @include media-breakpoint-up(sm) { - width: 80%; + &:not([class*='col-']) { + width: 100%; + + @include media-breakpoint-up(sm) { + width: 80%; + } } .close {