Skip to content

Commit 5781c2b

Browse files
committed
fix: align view headers with columns
1 parent 1de7b4c commit 5781c2b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/dashboard/Data/Views/Views.react.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ class Views extends TableView {
176176
<div className={tableStyles.content}>{content}</div>
177177
</LoaderContainer>
178178
{toolbar}
179-
<div className={tableStyles.headers} style={{ width: this.state.tableWidth }}>
179+
<div
180+
className={tableStyles.headers}
181+
style={{ width: this.state.tableWidth, right: 'auto' }}
182+
>
180183
{headers}
181184
</div>
182185
{extras}

src/dashboard/Data/Views/Views.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@import 'stylesheets/globals.scss';
22

3+
.headers {
4+
right: auto;
5+
}
6+
37
.headerWrap {
48
display: inline-block;
59
vertical-align: top;
@@ -42,6 +46,7 @@
4246
overflow: hidden;
4347
text-overflow: ellipsis;
4448
white-space: nowrap;
49+
max-width: none;
4550
}
4651

4752
.pointerLink {

0 commit comments

Comments
 (0)