Skip to content

Make Mastodon theme header non-sticky on mobile#620

Merged
akirk merged 1 commit intomainfrom
fix/mastodon-mobile-unsticky-header
Mar 26, 2026
Merged

Make Mastodon theme header non-sticky on mobile#620
akirk merged 1 commit intomainfrom
fix/mastodon-mobile-unsticky-header

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented Mar 26, 2026

Summary

  • Remove sticky positioning from .mastodon-col-header on screens ≤ 780px
  • On mobile the sticky header takes up too much vertical space, reducing visible content

Test plan

  • Open /friends/ in Mastodon theme on mobile or narrow browser window
  • Verify header scrolls away with content instead of staying pinned
  • Verify header remains sticky on desktop widths

Test in WordPress Playground

On small screens the sticky header takes up too much vertical space,
reducing the visible content area.
@akirk akirk merged commit 2a1903f into main Mar 26, 2026
25 checks passed
@akirk akirk deleted the fix/mastodon-mobile-unsticky-header branch March 26, 2026 20:28
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