From ad2e53cd2ca2b20c0219dca9d50f924a5cdd406f Mon Sep 17 00:00:00 2001 From: siandreev Date: Mon, 1 Apr 2024 16:43:04 +0200 Subject: [PATCH] fix: desktop modal border radius --- packages/uikit/src/components/Notification.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/uikit/src/components/Notification.tsx b/packages/uikit/src/components/Notification.tsx index 222424333..6526e6f18 100644 --- a/packages/uikit/src/components/Notification.tsx +++ b/packages/uikit/src/components/Notification.tsx @@ -178,8 +178,10 @@ const Content = styled.div<{ standalone: boolean }>` ${p => p.theme.displayType === 'full-width' && css` - border-bottom-right-radius: ${p.theme.cornerMedium}; - border-bottom-left-radius: ${p.theme.cornerMedium}; + border-top-right-radius: ${props => props.theme.cornerSmall}; + border-top-left-radius: ${props => props.theme.cornerSmall}; + border-bottom-right-radius: ${p.theme.cornerSmall}; + border-bottom-left-radius: ${p.theme.cornerSmall}; max-height: calc(100% - 32px); overflow: auto; padding-top: 0;