Skip to content

Commit

Permalink
Fix various row/cell-related CSS
Browse files Browse the repository at this point in the history
- the current CSS takes for granted that the virtualization library is setting position+widths which is no longer always the case - our CSS should now provide sane fallbacks for custom rendering
  • Loading branch information
cee-chen committed Mar 1, 2023
1 parent a4964ad commit 09b6d65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/datagrid/_data_grid_data_row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
}

&:focus {
position: relative;
@include euiDataGridCellFocus;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.euiDataGridFooter {
display: flex;
width: fit-content;
}

@include euiDataGridFooterCell {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
background: $euiColorEmptyShade;
position: sticky;
top: 0;
width: fit-content;
}

@include euiDataGridHeaderCell {
Expand Down

0 comments on commit 09b6d65

Please sign in to comment.