Improved spacing of the publish page on small screens#25197
Conversation
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on November 3. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
WalkthroughThis pull request modifies the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Reasoning: This change affects only a single CSS file with two straightforward property modifications. Both edits are simple value replacements (padding consolidation and width adjustment) with no logic changes or complex interactions. The changes follow a consistent pattern addressing the same viewport issue, making this homogeneous and low-complexity. Visual verification on narrow viewports would be the primary review concern. Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@lorumic I cant see any reason the user would want the button to trail off like it has in the example above. |
Yes, I agree, that would be better and was also one of the other things that I had tried while I was implementing the change. I think the final decision is up to the Ghost team, as it's a UX one - if it's confirmed that what we want here is wrapping, I'll be happy to address this change. :) |
fixes TryGhost#24898 This PR improves the right spacing of the publish page header, by making it proportional to the left one. It also ensures that the "Back to settings" secondary CTA does not overflow horizontally on very narrow viewports.
3dee628 to
0e708a5
Compare
|
Hey, added some tweaks! Thanks for this. I can't say I'm ever on mobile, so we appreciate those who use mobile heavily to suggest these. I've added some wrapping and fixed the "Publish" text falling behind the modal header at the same time. It's all related enough. edit: We're in the process of moving all this to React+Tailwind which should make the mobile behavior a lot friendlier. |
fixes #24898
This PR improves the right spacing of the publish page header, by making it proportional to the left one. It also ensures that the "Back to settings" secondary CTA does not overflow horizontally on very narrow viewports.