From 0660fb56c06c034f79184f386de02ca48be30bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 5 Oct 2023 12:16:06 +0200 Subject: [PATCH] MOBILE-4362 styles: Do not round borders on fullscreen modals --- src/theme/theme.base.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 3f9e59ec3..00b59da8f 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -1869,13 +1869,15 @@ video::-webkit-media-text-track-display { } ion-modal { - .modal-wrapper { - --border-radius: var(--modal-radius); + &.show-modal { + @media only screen and (min-width: 768px) and (min-height: 600px) { + --border-radius: var(--modal-radius); + } } &.core-modal-lateral, &.core-modal-fullscreen { - --modal-radius: 0px; + --border-radius: 0px; } &.core-modal-no-background {