Skip to content

Conversation

@cathaysia
Copy link

@cathaysia cathaysia commented Dec 9, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Pull Request validation

Failed

🔴 Review - Missing review from a member (2 required)

Success

🟢 CI - All checks have passed
🟢 Review - Reviewed by undefined

@nikromen
Copy link
Member

nikromen commented Dec 9, 2025

hi, any reason why?

@cathaysia
Copy link
Author

The default font size (9px?) is too small for me; it's difficult for me to read. Although I can zoom in, the page becomes cluttered when zoomed in.

Larger fonts also look more aesthetically pleasing.

@praiskup
Copy link
Member

praiskup commented Dec 9, 2025

Would you mind posting screenshots before and after the change, so it is obvious where is the difference; and we would let the community vote in the next month maybe?

hi, any reason why?

I was asking the same question; answers to "why?" would be preferably directly in git commit message.

@cathaysia
Copy link
Author

before:
image

after:
image

@FrostyX
Copy link
Member

FrostyX commented Dec 12, 2025

Agreed that our font size is probably a bit too small. But I wouldn't go to 16px, that's too much. Good for prose, but IMHO too much for the information we are showing. I'd bump it to 14px max.

But the second screenshot clearly shows that it won't be as easy as just increasing the number. We need to fix whatever page elements it breaks.

@cathaysia
Copy link
Author

what is about this:

before:
image

after:

image
- html { font-size: 10px; }
- body { font-size: 12px; }
+ body { font-size: 0.875rem; }

12px -> 14px

@xsuchy
Copy link
Member

xsuchy commented Dec 15, 2025

I am -1 to use directly px.
I am +1 to use "rem" sizes. 0.875 is fine with me.

Copy link
Member

@praiskup praiskup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, it seems even smaller :-) reverting my approve.


body {
background-color: #eee;
font-size: 0.875rem;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep sorry for wanting so many contradicting changes for you :D I deployed your change to our staging instance (https://copr.stg.fedoraproject.org/coprs/) and it was even smaller :/ ... I tried to put here 1.4 and deploy it and it seems OK to me (again deployed https://copr.stg.fedoraproject.org/coprs/ so you can have a look) - is that font-size ok with you?

Suggested change
font-size: 0.875rem;
font-size: 1.4rem;

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to be covered by patternfly.min.css. If you disable this rule, 0.875rem looks fine.
image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a new rule to force the font size of the html to 1rem.
Can you redeploy one to see the effect? I don't know how to preview locally

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason this is still broken :/ https://copr.stg.fedoraproject.org/coprs/

… browser settings, while setting the body's font size to 0.875rem(about 14px)

Signed-off-by: loongtao.zhang <[email protected]>
@praiskup
Copy link
Member

praiskup commented Dec 19, 2025

edit: wrong ticket

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants