Skip to content

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

@manjitkarve

Description

@manjitkarve

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions