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

Changing browser zoom level affects horizontal alignment of th to tds #28

Open
manjitkarve opened this issue Sep 30, 2018 · 0 comments
Open

Comments

@manjitkarve
Copy link

Hi,

Thanks for creating this really useful library.

I noticed an issue with alignment when the page zoom level is changed.

At 100% zoom level:
At 100% zoom level

At 110% zoom level:
At 110% zoom level

I suspect it is because of fractional adding up of border-width and padding, but can't be sure.
Vertical alignment of rows is not affected. The effect is larger with a large number of columns (as in the screenshot), but is observable with the demo here:
https://www.cssscript.com/demo/fix-table-header-column/

Thanks, again, for creating this library.

Regards,
Manjit

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