From 326001cd1eafaa0dd579e34d2e219efcdca58816 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Wed, 24 Jul 2024 11:45:52 -0700 Subject: [PATCH] fix(shell): fix resizing a slotted shell-panel when clicking to resize (#9846) **Related Issue:** #9807 ## Summary - fixes styles when resizing - makes non interactive container not suddenly jump full height/width. - cleanup --- .../src/components/shell/shell.scss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/calcite-components/src/components/shell/shell.scss b/packages/calcite-components/src/components/shell/shell.scss index ea0d9e94f92..0a89cfbdd05 100755 --- a/packages/calcite-components/src/components/shell/shell.scss +++ b/packages/calcite-components/src/components/shell/shell.scss @@ -29,17 +29,13 @@ overflow-hidden; } -.content, -.content--non-interactive { +.content { @apply flex h-full w-full flex-col - flex-nowrap; -} - -.content { - @apply overflow-auto; + flex-nowrap + overflow-auto; justify-content: space-between; } @@ -59,7 +55,7 @@ } .content--non-interactive { - @apply pointer-events-none; + @apply flex pointer-events-none; } ::slotted(calcite-shell-center-row) {