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

fix: Revert smaller text size #1795

Merged
merged 3 commits into from Jul 4, 2023
Merged

Conversation

jsit
Copy link
Contributor

@jsit jsit commented Jul 4, 2023

Description

Would like to hear some more feedback on this one.

#1591 reduced the base font size from 16px to 14px. Users have complained that this is too small.

Furthermore, this font size reduction was done on $font-size-base, when it should have been done on $font-size-root.

This PR unsets $font-size-base and changes $font-size-root to 93.75%. This makes body text 15px (and small text 13.125px), and also (by using font-size-root instead of font-size-base) results in more Bootstrap-adherent text size proportions.

User and Community avatars (the small inline ones on posts) go from a height/width of 18.38px to 19.69px. A very small change but not nothing ¯_(ツ)_/¯

It might be worth considering unsetting $font-size-root entirely, so that body text is the browser default of 16px; but 15px might be a happy medium.

Screenshots

Screenshots don't really adequately convey this change; best to try it out locally.

Before

Screenshot 2023-07-04 at 12 04 08 AM

After

Screenshot 2023-07-04 at 12 03 21 AM

@SleeplessOne1917
Copy link
Member

Looks good to me, though you should get some feedback from users on this one.

Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

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

I like this better.

@jsit jsit enabled auto-merge (squash) July 4, 2023 14:35
@jsit jsit merged commit 8323bc9 into LemmyNet:main Jul 4, 2023
1 check passed
jsit added a commit to jsit/lemmy-ui that referenced this pull request Jul 4, 2023
…ocus-1772

* lemmy/main: (25 commits)
  v0.18.1-rc.10
  Attempt to fix inability to logout from some instances (subdomains) (LemmyNet#1809)
  feat(theme): Vaporwave (LemmyNet#1682)
  fix: Revert smaller text size (LemmyNet#1795)
  Updated the regex for isAuthPath to reduce false positive hits (LemmyNet#1806)
  fix: Add focus border to markdown toolbar buttons
  fix: Add data-bs-theme attribute for user dark/light modes (LemmyNet#1782)
  v0.18.1-rc.9
  fix: Fix comment collapse and vote buttons not having focus style (LemmyNet#1789)
  Add missing modlog reasons (LemmyNet#1787)
  Fix search page breaking on initial load when logged in (LemmyNet#1781)
  feat: Add PR template (LemmyNet#1785)
  v0.18.1-rc.8
  Fix profile loading spinner
  fix: Break text on post titles so long words don't overflow
  fix: Move getRoleLabelPill to the only component that uses it
  fix: Remove unused hasBadges() function
  fix: Fix badge alignment and break out into component
  fix: Fix up filter row gaps and margins a little
  fix: Fix heading levels
  ...
hanubeki referenced this pull request in hanubeki/hanubeki-lemmy-themes Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants