Skip to content

Commit

Permalink
Editor: Do not show scrollbars when closing sidebars
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 19, 2024
1 parent 42947ce commit 4a7ab61
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 4a7ab61

Please sign in to comment.