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: truncate text for while showing text for padding and margin tokens #4485

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

JayaKrishnaNamburu
Copy link
Contributor

Description

fixes #4439
While displaying tokens in the spacing section, it gets too cluttered if the css-variable names are long. This PR will truncate text, to make it less cluttered.
Screenshot 2024-11-30 at 6 09 12 PM

Steps for reproduction

  • Create a super long css-variable.
  • Now, use the variable for padding/margin.

Code Review

  • hi @kof, I need you to do
    • conceptual review (architecture, feature-correctness)
    • detailed review (read every line)
    • test it on preview

Before requesting a review

  • made a self-review

Before merging

  • tested locally and on preview environment (preview dev login: 0000)

@JayaKrishnaNamburu JayaKrishnaNamburu self-assigned this Nov 30, 2024
@JayaKrishnaNamburu JayaKrishnaNamburu merged commit 05ab9cd into main Dec 3, 2024
15 checks passed
@JayaKrishnaNamburu JayaKrishnaNamburu deleted the trun-text branch December 3, 2024 04:54
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.

Truncate spacing text
2 participants