Comcast / Comcast/react-data-grid

SOLUTION: Transparent header background / overlapping text

Open
#4,004 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 2h
Merged PRs (30d)
33

Description

For anyone else using Vite (Vite 8 uses Lightning CSS as the default CSS minifier automatically) that is encountering the "transparent header background / data text overlapping header text" in react-data-grid, like this:

Image

I simply added this CSS:

.rdg-header-row > .rdg-cell {
background-color: #f9f9f9;
}

to once again get the desired look:

Image

NOTE: I had tried the following in my vite.config.js, but that caused my server build to fail.

build: {
....,
cssMinify: 'esbuild'
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.