Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate Color Rows #115

Open
sstylianides opened this issue Feb 12, 2021 · 1 comment
Open

Alternate Color Rows #115

sstylianides opened this issue Feb 12, 2021 · 1 comment

Comments

@sstylianides
Copy link

Just wondering if their is support for alternate color rows? I tried doing it myself by modifying the CSS but doesn't seem to work for me.

@maeriens
Copy link
Contributor

maeriens commented Feb 20, 2021

I think you need to target the cells because they have a white background. Selecting the even/odd rows and then their cells

 .sticky-table-row:nth-of-type(odd) .sticky-table-cell {
    background: grey;
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants