Skip to content

Commit

Permalink
Editor: Do not show scrollbars when closing sidebars (#60889)
Browse files Browse the repository at this point in the history
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: stokesman <[email protected]>
  • Loading branch information
3 people authored Apr 19, 2024
1 parent 3a7dd98 commit 96749de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function ComplementaryAreaFill( {
animate={ isMobileViewport ? 'mobileOpen' : 'open' }
exit="closed"
transition={ transition }
className="interface-complementary-area__fill"
>
<div
id={ id }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.interface-complementary-area {
background: $white;
color: $gray-900;
height: 100%;
overflow: auto;

@include break-small() {
-webkit-overflow-scrolling: touch;
Expand Down Expand Up @@ -72,3 +74,7 @@
left: auto;
}
}

.interface-complementary-area__fill {
height: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ html.interface-interface-skeleton__html-container {
}

.interface-interface-skeleton__sidebar {
overflow: auto;
overflow: hidden;

@include break-medium() {
border-left: $border-width solid $gray-200;
Expand Down

0 comments on commit 96749de

Please sign in to comment.