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

remove break-all #328

Merged
merged 3 commits into from
Feb 22, 2023
Merged

remove break-all #328

merged 3 commits into from
Feb 22, 2023

Conversation

dario-piotrowicz
Copy link
Member

This PR fixes text getting broken up too dynamically, resulting in weird views like these:
Screenshot 2023-02-22 at 12 42 29

Screenshot 2023-02-22 at 12 43 40


before:
before

after:
after

@dario-piotrowicz
Copy link
Member Author

@yug1224 pinging you in case you want to have a look and see if the fix works for you (by the way I hope you don't mind I reused your test content)

<div class="ml-2 text-wildebeest-400 col-start-2 row-start-2">
@{subText === 'username' ? account.username : account.acct}
<div>
<div data-testid="account-display-name" class="col-start-2 row-start-1">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do the classes (col-start-2, row-start-1) make any difference now that you are not using a grid?

Copy link
Member Author

Choose a reason for hiding this comment

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

no I should have removed them 😓

@xtuc xtuc merged commit 02b7e88 into main Feb 22, 2023
@xtuc xtuc deleted the break-all-fix branch February 22, 2023 13:50
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.

3 participants