Skip to content

Commit f495dd1

Browse files
authored
fix: Data browser table headers misaligned when scrolling horizontally (#3067)
1 parent 3a82b0b commit f495dd1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/DataBrowserHeaderBar/DataBrowserHeaderBar.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
height: 0;
1616
background: #66637a;
1717
white-space: nowrap;
18-
display: inline-block;
18+
display: block;
1919
min-width: 100%;
20+
width: max-content;
2021
// to resolve rendering issue with retina displays
2122
-webkit-transform: translate3d(0, 0, 0);
23+
will-change: transform;
2224
}
2325

2426
.wrap {

src/dashboard/Data/Browser/Browser.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ body:global(.expanded) {
9494
white-space: nowrap;
9595
height: 30px;
9696
border-bottom: 1px solid #e3e3ea;
97+
will-change: transform;
9798

9899
&:nth-child(odd) {
99100
background: #f4f5f7;

0 commit comments

Comments
 (0)