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

CSS changes reduce readability of documents #61

Open
pfps opened this issue May 20, 2023 · 1 comment
Open

CSS changes reduce readability of documents #61

pfps opened this issue May 20, 2023 · 1 comment

Comments

@pfps
Copy link
Contributor

pfps commented May 20, 2023

Many working group documents have had CSS changes applied to them, for example w3c/rdf-turtle#20, which include code like:

    @media (max-width: 850px) {
        table th, table td { font-size: 12px; padding: 3px 4px;}
        table.ex th, table.ex td {overflow-x: scroll; max-width: 42vw !important;}

This change has the effect of reducing the side of text in tables when window width falls below a 850px, which occurs in many situations, not just on small devices. The reduced size makes it harder to read tables. In at least some cases there is no benefit to reducing the text size as the table can be rendered with no problems without reducing the text size.

Here is a screenshot showing the size difference.

Screenshot from 2023-05-20 08-12-28

Note how when the body text is small but easily readable the text in the table is less readable. There is no reason to reduce the table text size here as the table can be rendered at this width with no problems.

@TallTed
Copy link
Member

TallTed commented May 31, 2023

I agree with @pfps that this dynamic change of font size is problematic. Barring revelation of a strong justification for it, I think this aspect of the "improving display on mobile phones" CSS changes, which I do not think it accomplishes, should be undone/removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants