Skip to content

Scope banner: keep the first word inside the border - #39

Merged
lszoszk merged 1 commit into
mainfrom
fix/scope-banner-overflow
Nov 10, 2026
Merged

lszoszk merged 1 commit into
mainfrom
fix/scope-banner-overflow

Conversation

@lszoszk

@lszoszk lszoszk commented Nov 10, 2026

Copy link
Copy Markdown
Owner

The Jurisprudence banner in the filter pane printed JURISPRUDENCEIndividual- as one unbreakable chunk (the inline label is followed by the text with no space), so Individual- ran 13 px past the border, under the × button. The Recommendations banner has the same markup.

  • .scope-banner .folio is now a block (label on its own line); .scope-banner gets overflow-wrap: anywhere.
  • app.css version bumped in index.html so browsers fetch the new file.

Checked locally at 1000×750 (Playwright): overflow 13 px → 0 px for scope=jur, 0 px for scope=rec.

🤖 Generated with Claude Code

…nger runs past the border

In the narrow filter pane the inline label JURISPRUDENCE (and RECOMMENDATIONS) was followed
by the first word with no space, so 'JURISPRUDENCEIndividual-' could not wrap and overflowed
the banner by 13 px. The label is now a block and long words may break.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lszoszk
lszoszk merged commit b910f8a into main Nov 10, 2026
2 checks passed
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.

1 participant