Skip to content

Commit 5acac3f

Browse files
fix: Vertical scrollbar in data browser is outside visible area when scrolling horizontally (#2457)
1 parent 057fc8b commit 5acac3f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/components/DataBrowserHeaderBar/DataBrowserHeaderBar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@import 'stylesheets/globals.scss';
99

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

src/dashboard/Data/Browser/Browser.scss

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

2020
body:global(.expanded) {
2121
.browser {
2222
left: $sidebarCollapsedWidth;
23+
width: calc(100% - $sidebarCollapsedWidth);
2324
}
2425
}
2526

@@ -82,9 +83,7 @@ body:global(.expanded) {
8283
top: 30px;
8384
bottom: 0;
8485
left: 0;
85-
min-width: 100%;
86-
overflow-y: auto;
87-
overflow-x: hidden;
86+
width: 100%;
8887
}
8988

9089
.table .empty {

0 commit comments

Comments
 (0)