Skip to content

Fix theme toggle position and top spacing#97

Merged
gusaiani merged 1 commit intomainfrom
fix-theme-toggle-position-spacing
Mar 20, 2026
Merged

Fix theme toggle position and top spacing#97
gusaiani merged 1 commit intomainfrom
fix-theme-toggle-position-spacing

Conversation

@gusaiani
Copy link
Copy Markdown
Owner

Summary

  • Change theme-bar from position: absolute to position: static so it flows naturally in the document
  • Reduce body top padding from 56px to 11px to bring content closer to the top
  • Add 40px bottom padding to theme-bar for spacing from content below

Test plan

  • Verify theme toggle icon is ~10px from browser top
  • Scroll page and confirm toggle stays in normal document flow
  • Check spacing between toggle and content below looks correct

Move theme-bar to position: static so it sits in normal document flow
near the top of the page, reduce body top padding to 11px, and add
bottom padding to theme-bar for spacing from content below.
@gusaiani gusaiani enabled auto-merge (squash) March 20, 2026 08:49
@gusaiani gusaiani merged commit ff6e05a into main Mar 20, 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