Skip to content

Commit ba5bccd

Browse files
committed
revert: fix: Vertical scrollbar in data browser is outside visible area when scrolling horizontally (parse-community#2457)
This reverts commit 5acac3f.
1 parent d410339 commit ba5bccd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/components/DataBrowserHeaderBar/DataBrowserHeaderBar.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@import 'stylesheets/globals.scss';
99

1010
.bar {
11-
position: sticky;
11+
position: absolute;
1212
top: 0;
1313
left: 0;
1414
height: 30px;

src/dashboard/Data/Browser/Browser.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414
right: 0;
1515
bottom: 0;
1616
overflow: auto;
17-
width: calc(100% - 300px);
17+
padding-top: 30px;
1818
}
1919

2020
body:global(.expanded) {
2121
.browser {
2222
left: $sidebarCollapsedWidth;
23-
width: calc(100% - $sidebarCollapsedWidth);
2423
}
2524
}
2625

@@ -83,7 +82,9 @@ body:global(.expanded) {
8382
top: 30px;
8483
bottom: 0;
8584
left: 0;
86-
width: 100%;
85+
min-width: 100%;
86+
overflow-y: auto;
87+
overflow-x: hidden;
8788
}
8889

8990
.table .empty {

0 commit comments

Comments
 (0)