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

Alignment of column headers not working #218

Open
c-kob opened this issue Jul 13, 2023 · 0 comments
Open

Alignment of column headers not working #218

c-kob opened this issue Jul 13, 2023 · 0 comments

Comments

@c-kob
Copy link

c-kob commented Jul 13, 2023

When adding a column and setting the textalign property, this is effectively ignored because table headers are wrapped in a div (without any CSS reference) that sets "display: flex;", so all headers are pushed to the left.

Not sure where that comes from nor what purpose it is meant to serve, but a workaround is to add some custom css that overwrites, e.g.

th > div {
display: block !important;
}

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

1 participant