From c1f663a200f8acc57905960f2144c7ac1c303697 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 29 Nov 2025 16:43:50 +0200 Subject: [PATCH] style(mobile): no bottom border radius on modals --- apps/client/src/stylesheets/style.css | 4 ++++ apps/client/src/widgets/dialogs/PopupEditor.css | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index dc95206cb..55551f7fb 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -212,6 +212,10 @@ input::placeholder, background-color: var(--modal-backdrop-color) !important; } +body.mobile .modal .modal-content { + border-radius: var(--bs-modal-border-radius) var(--bs-modal-border-radius) 0 0; +} + .component { contain: size; } diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css index c545a13eb..5d8691c19 100644 --- a/apps/client/src/widgets/dialogs/PopupEditor.css +++ b/apps/client/src/widgets/dialogs/PopupEditor.css @@ -5,11 +5,11 @@ body.popup-editor-open .ck-clipboard-drop-target-line { z-index: 1000; } body.desktop .modal.popup-editor-dialog .modal-dialog { max-width: 75vw; -} - -.modal.popup-editor-dialog .modal-dialog { border-bottom-left-radius: var(--bs-modal-border-radius); border-bottom-right-radius: var(--bs-modal-border-radius); +} + +body.desktop .modal.popup-editor-dialog .modal-dialog { overflow: hidden; }