close
Skip to content

[2.x] fix: reduce post horizontal padding on mobile to 15px#4456

Merged
imorland merged 1 commit into2.xfrom
im/fix-4415-reduce-mobile-post-padding
Mar 15, 2026
Merged

[2.x] fix: reduce post horizontal padding on mobile to 15px#4456
imorland merged 1 commit into2.xfrom
im/fix-4415-reduce-mobile-post-padding

Conversation

@imorland
Copy link
Copy Markdown
Member

Summary

Follow-up to #4422.

The fix in #4422 added padding-left: var(--post-padding) (20px) to match the existing right padding on mobile, but 20px on both sides feels excessive on small screens.

This reduces both sides to 15px on mobile, which:

  • Matches the existing PostStream-item horizontal padding pattern on mobile (padding: 0 15px)
  • Gives a consistent, symmetric 15px on left and right
  • Frees up a little more content width on small screens

Test plan

  • Verify posts have symmetric 15px left and right padding on mobile (≤767px)
  • Verify event posts, dividers, and badges still render correctly

@imorland imorland requested a review from a team as a code owner March 15, 2026 08:57
@imorland imorland added this to the 2.0.0-beta.8 milestone Mar 15, 2026
@imorland imorland merged commit a8b997e into 2.x Mar 15, 2026
27 checks passed
@imorland imorland deleted the im/fix-4415-reduce-mobile-post-padding branch March 15, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant