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

Text: Remove descender crop on truncated text #1451

Merged
merged 7 commits into from
Feb 18, 2024
Merged

Conversation

adenj
Copy link
Contributor

@adenj adenj commented Feb 15, 2024

A combination of webkit-box, line-height and font-size can lead to instances where descender in the last line are cropped.
Screenshot 2024-02-16 at 10 43 06 am

This change focuses on preventing any potential cropping on text nodes

@adenj adenj requested a review from a team as a code owner February 15, 2024 23:45
Copy link

changeset-bot bot commented Feb 15, 2024

🦋 Changeset detected

Latest commit: 22627f6

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

This PR includes changesets to release 1 package
Name Type
braid-design-system 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

…es/MaxLines.css.ts

Co-authored-by: Michael Taranto <michaeltaranto@users.noreply.github.com>
adenj and others added 3 commits February 16, 2024 11:10
Co-authored-by: Michael Taranto <michaeltaranto@users.noreply.github.com>
…es/MaxLines.css.ts

Co-authored-by: Michael Taranto <michaeltaranto@users.noreply.github.com>
@adenj adenj merged commit d5c2e27 into master Feb 18, 2024
8 checks passed
@adenj adenj deleted the remove-heading-bottom-crop branch February 18, 2024 22:50
@seek-oss-ci seek-oss-ci mentioned this pull request Feb 18, 2024
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.

2 participants