docs: fix Starter Kit spotlight card on mobile#854
Conversation
Wrap desktop image overrides in @media (min-width: 701px) so they stop fighting the mobile media query. Also explicitly reset transform/border-radius/object-fit in the mobile block so the stacked banner image renders cleanly.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughUpdated inline CSS styling for the ChangesResponsive image styling refinement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
.apollo-esk-imgoverrides in@media (min-width: 701px)so they no longer compete with the mobile media query and stop the spotlight card from rendering with a desktop-sized image on phones.transform,border-radius, andobject-fitinside the existing mobile media query so the stacked banner image renders cleanly under 700px.Test plan
mkdocs serveat narrow widths that the image stacks below the text as a 200px bannerSummary by CodeRabbit