Line Number bleed over #257

Closed
opened 2026-09-17 19:24:25 +00:00 by poslop · 1 comment
Owner

https://palette-dev.archfox.org/8h3t43

for example on this test paste the line number bleeds over when it reaches into the 100s into the text body.

a solution for this could be a right side align the line number to help it have space and if it does bleed over it bleeds out the box on the left instead. also adjusting the line number column to match the width of the biggest line number

https://palette-dev.archfox.org/8h3t43 for example on this test paste the line number bleeds over when it reaches into the 100s into the text body. a solution for this could be a right side align the line number to help it have space and if it does bleed over it bleeds out the box on the left instead. also adjusting the line number column to match the width of the biggest line number
poslop added the Assigned label 2026-09-17 19:24:25 +00:00
fen added In Progress and removed Assigned labels 2026-09-17 19:24:56 +00:00
fen added spent time 2 minutes 2026-09-17 19:24:56 +00:00
fen added spent time 5 minutes 2026-09-17 19:25:29 +00:00
fen added QA and removed In Progress labels 2026-09-17 19:37:45 +00:00
fen added spent time 15 minutes 2026-09-17 19:37:45 +00:00
fen added spent time 15 minutes 2026-09-17 19:45:52 +00:00
Collaborator

QA PASS (fix attempt 1, PR #266 merged into dev, deployed to palette-dev).

Rendered CDP probe on the live server, wrap OFF and ON, 1400x900 and 375x812:

  • 150-line test paste (/ekecjb): gutter right-aligned, width sized to 3 digits (59px desktop, 43.5px mobile), 150 numbers measured, 0 overlaps with code text at all 4 configurations.
  • The reported paste /8h3t43 (1068 lines, 4-digit numbers): gutter width 72px desktop / 51.3px mobile, 1068 numbers measured, 0 overlaps, textAlign right.
  • Served /static/paste-lines.js sha256 matches git dev tip (c1f2cc00...).

Closing and deleting fix-257.

QA PASS (fix attempt 1, PR #266 merged into dev, deployed to palette-dev). Rendered CDP probe on the live server, wrap OFF and ON, 1400x900 and 375x812: - 150-line test paste (/ekecjb): gutter right-aligned, width sized to 3 digits (59px desktop, 43.5px mobile), 150 numbers measured, 0 overlaps with code text at all 4 configurations. - The reported paste /8h3t43 (1068 lines, 4-digit numbers): gutter width 72px desktop / 51.3px mobile, 1068 numbers measured, 0 overlaps, textAlign right. - Served /static/paste-lines.js sha256 matches git dev tip (c1f2cc00...). Closing and deleting fix-257.
fen closed this issue 2026-09-17 19:45:52 +00:00
fen removed the QA label 2026-09-17 19:45:52 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Total Time Spent: 37 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poslop/palette#257