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(ui): stop XL font responsiveness #1990

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

VanishMax
Copy link
Contributor

Closes penumbra-zone/dex-explorer#307

This PR simply comments out the XL screen size responsiveness.

Context

Sam and Artur made UI typography styles responsive, so, for example, a text-textBase class is 0.875rem (14px) on mobile and tablet screens, 1rem (16px) on desktop and large screens, 1.125rem (18px) on XL screens.

This feature was implemented in #1978 to meet the v2 designs requirements. This lead to mobile and tablet screens become pixel-perfect, better-looking for users of the DEX. However, DEX designs do not support XL text responsiveness as the components are extremely dense and need smaller text styles.

For text style reference, see the screenshots in #1978

@VanishMax VanishMax requested a review from a team January 23, 2025 13:38
@VanishMax VanishMax self-assigned this Jan 23, 2025
Copy link

changeset-bot bot commented Jan 23, 2025

🦋 Changeset detected

Latest commit: 0f2767b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@penumbra-zone/ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Visit the preview URL for this PR (updated for commit 0f2767b):

https://penumbra-ui-preview--pr1990-fix-font-responsiven-qs5s76z0.web.app

(expires Thu, 30 Jan 2025 13:40:26 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1

@VanishMax VanishMax merged commit f3ee52a into main Jan 23, 2025
8 checks passed
@VanishMax VanishMax deleted the fix/font-responsiveness branch January 23, 2025 14:14
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.

Route book layout looks off
2 participants