Skip to content

Improve comment header wrapping on mobile#9682

Merged
fregante merged 2 commits into
mainfrom
fix-wrap-comment
Jun 3, 2026
Merged

Improve comment header wrapping on mobile#9682
fregante merged 2 commits into
mainfrom
fix-wrap-comment

Conversation

@fregante

@fregante fregante commented Jun 3, 2026

Copy link
Copy Markdown
Member

Screenshot

refined-github/sandbox#131

All good at 320px

Screenshot 2

Screenshot review thread

320px just isn't enough for this view

https://github.com/refined-github/refined-github/pull/9182/changes#r3068791673
Screenshot 3

but 450px is:

Screenshot 4

@fregante fregante merged commit 8a6ea09 into main Jun 3, 2026
14 checks passed
@fregante fregante deleted the fix-wrap-comment branch June 3, 2026 20:03
@SunsetTechuila

SunsetTechuila commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

790px width

image

@fregante

fregante commented Jun 4, 2026

Copy link
Copy Markdown
Member Author

This commit was reverted by the way, which commit are you testing? See the latest PR (merged just today)

@SunsetTechuila

Copy link
Copy Markdown
Contributor

this is with the latest commit from the main branch

@fregante

fregante commented Jun 5, 2026

Copy link
Copy Markdown
Member Author

I can't figure out what's the difference between the two, this is so annoying:

Screenshot

One will trigger flex-wrap while the other one will break the username. Both have break-word. Both have the same flex-grow etc (as far as I can tell)

@fregante

fregante commented Jun 5, 2026

Copy link
Copy Markdown
Member Author

I might have found a fix. Will PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Improve comment header wrapping on mobile

2 participants