fixed-table-js
fixed-table-js copied to clipboard
Changing browser zoom level affects horizontal alignment of th to tds
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 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