Skip to content

fix: group links and share button with dark mode toggle on the right#43

Merged
magnus-madsen merged 2 commits intomasterfrom
fix/menu-right-alignment
Mar 12, 2026
Merged

fix: group links and share button with dark mode toggle on the right#43
magnus-madsen merged 2 commits intomasterfrom
fix/menu-right-alignment

Conversation

@magnus-madsen
Copy link
Member

@magnus-madsen magnus-madsen commented Mar 12, 2026

Summary

  • Wraps the navigation links, shareable button, and dark mode toggle in a new .menu-right flex container so they are grouped together on the right side of the menu bar
  • Previously the three children of .menu (form, links, toggle) were spread apart by justify-content: space-between; now the right-side elements stay adjacent
  • Responsive behavior is preserved: .links still hides below 1400px while the toggle remains visible

Test plan

  • Verify links, shareable button, and dark mode toggle appear grouped on the right at wide viewport widths
  • Verify links hide on viewports below 1400px while toggle remains visible
  • Verify dark mode toggle still works correctly

🤖 Generated with Claude Code

magnus-madsen and others added 2 commits March 12, 2026 18:32
Wrap the links, shareable button, and dark mode toggle in a shared
flex container so they float together on the right side of the menu bar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace margin-top: 30vh with flexbox centering so the spinner stays
centered in the right pane at all viewport sizes, including the
responsive breakpoint where the pane is shorter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@magnus-madsen magnus-madsen merged commit 7ebca53 into master Mar 12, 2026
2 checks passed
@magnus-madsen magnus-madsen deleted the fix/menu-right-alignment branch March 12, 2026 17:35
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