fixed-table-js icon indicating copy to clipboard operation
fixed-table-js copied to clipboard

Changing browser zoom level affects horizontal alignment of th to tds

Open manjitkarve opened this issue 7 years ago • 0 comments

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

manjitkarve avatar Sep 30 '18 08:09 manjitkarve