Skip to content

Commit

Permalink
fix(shell): fix resizing a slotted shell-panel when clicking to resize (
Browse files Browse the repository at this point in the history
#9846)

**Related Issue:** #9807

## Summary

- fixes styles when resizing
  - makes non interactive container not suddenly jump full height/width.
- cleanup
  • Loading branch information
driskull authored and github-actions[bot] committed Jul 30, 2024
1 parent 8af34e2 commit 326001c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/calcite-components/src/components/shell/shell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -59,7 +55,7 @@
}

.content--non-interactive {
@apply pointer-events-none;
@apply flex pointer-events-none;
}

::slotted(calcite-shell-center-row) {
Expand Down

0 comments on commit 326001c

Please sign in to comment.