.paste-title-bar h1 now uses word-break: normal; overflow-wrap: anywhere, so a >120-char unbroken title wraps inside the title card instead of forcing an internal scrollbar plus a page-level horizontal scrollbar at 375px. Follows the message-box wrap convention (no break-all on prose titles).
Verified with headless chromium against a local build (CSP-clean: CSS-only change):
375x812, 300-char unbroken title, dark preset: scrollWidth 375 == clientWidth 375, title wraps (h1 height 209px, no overflow)
375x812, normal title: unchanged (h1 26px), no h-scroll
light preset (pastel-cloud): same no-h-scroll result at 375px
go build ./... and go test ./... pass.
Fixes #142.
`.paste-title-bar h1` now uses `word-break: normal; overflow-wrap: anywhere`, so a >120-char unbroken title wraps inside the title card instead of forcing an internal scrollbar plus a page-level horizontal scrollbar at 375px. Follows the message-box wrap convention (no `break-all` on prose titles).
Verified with headless chromium against a local build (CSP-clean: CSS-only change):
- 375x812, 300-char unbroken title, dark preset: scrollWidth 375 == clientWidth 375, title wraps (h1 height 209px, no overflow)
- 375x812, normal title: unchanged (h1 26px), no h-scroll
- 1400x900: scrollWidth == clientWidth, layout unchanged
- light preset (pastel-cloud): same no-h-scroll result at 375px
`go build ./...` and `go test ./...` pass.
Add word-break: normal; overflow-wrap: anywhere to .paste-title-bar h1 so
a >120-char unbroken title wraps inside the title card at mobile width
instead of producing an internal + page-level horizontal scrollbar.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #142.
.paste-title-bar h1now usesword-break: normal; overflow-wrap: anywhere, so a >120-char unbroken title wraps inside the title card instead of forcing an internal scrollbar plus a page-level horizontal scrollbar at 375px. Follows the message-box wrap convention (nobreak-allon prose titles).Verified with headless chromium against a local build (CSP-clean: CSS-only change):
go build ./...andgo test ./...pass.413bf80839toc4d55cb196