From 9682df62407f0ae244549e619ca4b59d0fd0f27b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 1 Dec 2025 15:48:18 +0200 Subject: [PATCH] feat(mobile/split): collapse inactive split when keyboard is opened --- apps/client/src/stylesheets/style.css | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 68f5b03e7..809a9e1b3 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -2627,15 +2627,22 @@ iframe.print-iframe { } @media (max-width: 991px) { - body.mobile .split-note-container-widget { - flex-direction: column !important; - - .note-split { - width: 100%; + body.mobile { + .split-note-container-widget { + flex-direction: column !important; + + .note-split { + width: 100%; + } + + .note-split.visible + .note-split.visible { + border-top: 1px solid var(--main-border-color); + } } - .note-split.visible + .note-split.visible { - border-top: 1px solid var(--main-border-color); + #root-widget.virtual-keyboard-opened .note-split:not(:focus-within) { + max-height: 80px; + opacity: 0.4; } } } \ No newline at end of file