Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Apr 16, 2024
1 parent 3efe5f9 commit 1c7e399
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ See the [Direct state access](/x/react-data-grid/state/#direct-selector-access)
- The cell element isn't `display: flex` by default. You can add `display: 'flex'` on the column definition to restore the behavior.
**NOTE**: If you're using **dynamic row height**, this also means cells aren't vertically centered by default anymore, you might want to set the `display: 'flex'` for all non-dynamic columns. This may also affect text-ellipsis, which you can restore by adding your own wrapper with `text-overflow: ellipsis`.
```tsx
{
display: 'flex',
Expand All @@ -522,6 +523,7 @@ See the [Direct state access](/x/react-data-grid/state/#direct-selector-access)
),
},
```
- The `columnHeader--showColumnBorder` class was replaced by `columnHeader--withLeftBorder` and `columnHeader--withRightBorder`.
- The `columnHeadersInner`, `columnHeadersInner--scrollable`, and `columnHeaderDropZone` classes were removed since the inner wrapper was removed in our effort to simplify the DOM structure and improve accessibility.
- The `pinnedColumnHeaders`, `pinnedColumnHeaders--left`, and `pinnedColumnHeaders--right` classes were removed along with the element they were applied to.
Expand Down

0 comments on commit 1c7e399

Please sign in to comment.