Skip to content

Commit

Permalink
fix: Vertical scrollbar in data browser is outside visible area when …
Browse files Browse the repository at this point in the history
…scrolling horizontally (parse-community#2457)
  • Loading branch information
AshishBarvaliya authored Jun 11, 2023
1 parent 057fc8b commit 5acac3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@import 'stylesheets/globals.scss';

.bar {
position: absolute;
position: sticky;
top: 0;
left: 0;
height: 30px;
Expand Down
7 changes: 3 additions & 4 deletions src/dashboard/Data/Browser/Browser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
right: 0;
bottom: 0;
overflow: auto;
padding-top: 30px;
width: calc(100% - 300px);
}

body:global(.expanded) {
.browser {
left: $sidebarCollapsedWidth;
width: calc(100% - $sidebarCollapsedWidth);
}
}

Expand Down Expand Up @@ -82,9 +83,7 @@ body:global(.expanded) {
top: 30px;
bottom: 0;
left: 0;
min-width: 100%;
overflow-y: auto;
overflow-x: hidden;
width: 100%;
}

.table .empty {
Expand Down

0 comments on commit 5acac3f

Please sign in to comment.