Skip to content

Fix .rule separator to be fully responsive#8

Merged
clertonraf merged 1 commit intomainfrom
fix/rule-separator-responsive
Apr 30, 2026
Merged

Fix .rule separator to be fully responsive#8
clertonraf merged 1 commit intomainfrom
fix/rule-separator-responsive

Conversation

@clertonraf
Copy link
Copy Markdown
Owner

Summary

  • .rule dividers were built from a fixed number of Unicode characters, causing them to overflow on wide screens and fall short on narrow ones
  • Replaced with border-bottom: 1px solid var(--muted) and collapsed the text to zero size — the line now always spans 100% of the container
  • No HTML changes needed; the box-drawing characters stay in the markup but render invisibly

Test plan

  • Resize the browser window — rule should always stretch edge-to-edge with the content
  • Verify appearance on mobile (≤600px) matches desktop
  • Confirm no visual regression in EN, DE, and PT-BR pages

🤖 Generated with Claude Code

Replace fixed-count Unicode box-drawing characters with a CSS border-bottom,
so the divider always spans exactly the container width at any viewport size.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@clertonraf clertonraf merged commit 06913c2 into main Apr 30, 2026
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