fix(docs): restore media centering and full-width intro image#4570
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview Adjusts the introduction page hero image container/classes so the image is full-width within the article column and doesn’t break centering/overflow styling. Reviewed by Cursor Bugbot for commit 0215d55. Configure here. |
Greptile SummaryThis PR fixes two visual regressions in the docs site: the
Confidence Score: 5/5Targeted CSS/layout-only fix with no logic changes; safe to merge. All three changed files touch only Tailwind class strings and MDX markup. The No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["Image / Video component\n(enableLightbox=true)"] --> B["button class='group contents'\n(no rendered box)"]
B --> C["NextImage / video\nclass='cursor-pointer group-hover:opacity-95'"]
C -->|"user clicks"| D["openLightbox()"]
D --> E["Lightbox isOpen=true"]
C -->|"pointer hover"| F["group-hover opacity applied\nvia child's own box"]
G["Parent layout\ne.g. flex justify-center\nmx-auto w-full"] -->|"button has no box\nparent layout applies directly to child"| C
Reviews (4): Last reviewed commit: "fix(docs): drop focus ring on lightbox m..." | Re-trigger Greptile |
…ng is not clipped
|
@greptile |
|
@cursor review |
|
@greptile |
|
@cursor review |
|
@greptile |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 0215d55. Configure here.
Summary
<button class="block w-full text-left">lightbox wrapper inImage/Videowith<button class="contents">so parent layout (e.g.flex justify-center) works again; focus/hover styling moves onto the child viagroup-*Type of Change
Testing
Tested manually — measured both pages with Playwright before/after to confirm the RSS image re-centers and the intro image matches the videos' column width (648px at 1280×900, 808px at 1440×900). Lightbox click + keyboard activation still works.
Checklist