From ac0b3c9366695c5f5dc4a2b32f787449c37869fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 14 Sep 2025 12:47:05 +0200 Subject: [PATCH] pl-fe: styles migrations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/components/modal-root.tsx | 47 +++++++-------- packages/pl-fe/src/components/ui/counter.tsx | 2 +- packages/pl-fe/src/components/ui/icon.tsx | 4 +- packages/pl-fe/src/features/ui/index.tsx | 6 +- packages/pl-fe/src/styles/new/components.scss | 12 ++++ packages/pl-fe/src/styles/new/layout.scss | 60 +++++++++++++++++++ packages/pl-fe/src/styles/new/mixins.scss | 14 ++++- 7 files changed, 111 insertions(+), 34 deletions(-) diff --git a/packages/pl-fe/src/components/modal-root.tsx b/packages/pl-fe/src/components/modal-root.tsx index 88f2e6168..3179f1891 100644 --- a/packages/pl-fe/src/components/modal-root.tsx +++ b/packages/pl-fe/src/components/modal-root.tsx @@ -192,39 +192,32 @@ const ModalRoot: React.FC = ({ children, onCancel, onClose, type }) } }, [children]); - if (!visible) { - return ( -
- ); - } - return (
-