Skip to content

Commit

Permalink
overscroll contain overflow element
Browse files Browse the repository at this point in the history
  • Loading branch information
blidblid committed Jul 13, 2024
1 parent 823e6c2 commit 90ab512
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions libs/core/src/lib/components/panel/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ export class BergPanelElement extends WebComponent<BergPanelInputs> {
<style>
.berg-panel-overflow {
overflow: auto;
overscroll-behavior: contain;
height: 100%;
width: 100%;
}
Expand Down
1 change: 0 additions & 1 deletion libs/core/src/lib/styles/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ $transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
display: block;
position: relative;
box-sizing: border-box;
overscroll-behavior: contain;
transition-duration: $transition-duration;
transition-timing-function: $transition-timing-function;
transition-property: var(--berg-panel-transition-property), box-shadow;
Expand Down

0 comments on commit 90ab512

Please sign in to comment.