Bump every social media card template and its matching copy panel from their current pixel widths (600–760px) to 1024px — the next standard browser breakpoint above 780px — so generated social images fill more screen real estate on modern displays.
Read and implement all steps in the plan at docs/plans/widen-social-card-templates-to-1024px.md — Widen Social Card Templates to 1024px. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/widen-social-card-templates-to-1024px.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
More ways to run this plan — goal & workflow prompts, file path
Achieve this goal: Widen Social Card Templates to 1024px. The plan at docs/plans/widen-social-card-templates-to-1024px.md describes one approach — use it as reference, but optimize for the outcome. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/widen-social-card-templates-to-1024px.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
widen-social-card-templates-to-1024px.html
docs/plans/widen-social-card-templates-to-1024px.html
docs/plans/widen-social-card-templates-to-1024px.md
Context
The story behind this plan — what prompted the work and why it matters now.
All seven HTML card templates in kit/plugins/social-media-tools/templates/ use hardcoded pixel widths for the .card and .copy-panel selectors. The widths were set conservatively to fit within 768px (tablet md) viewports — the largest, diff-card.html , is 760px wide. Modern desktop browsers default to viewports of 1280px or wider, and the Playwright screenshot pipeline captures the .card element directly (not the full page), so there is no screenshot-overflow risk at larger sizes.
The standard CSS breakpoint sequence above 780px is 1024px (the Tailwind/Bootstrap lg breakpoint). Moving to 1024px gives cards ~35% more horizontal canvas without crossing into the 1280px ( xl ) range that would cause overflow on smaller desktop windows.
Current widths by template:
Template Current .card Current .copy-panel Target
diff-card.html 760px 760px 1024px
snippet-card.html 720px 720px 1024px
blog-card.html 680px 680px 1024px
feature-card.html 680px 680px 1024px
video-card.html 640px 640px 1024px
quote-card.html 600px 600px 1024px
session-card.html min(720px,100%) min(720px,100%) min(1024px,100%)
Steps
The step-by-step work, in order — each step says what to do, why it matters, and how to check it worked.
Definition of done
The plan counts as done when every statement below is true — check each one off as you verify it.
Final check
One last pass to confirm the whole change works end to end.
Run the following grep across all templates and confirm zero old-width values remain on card/panel selectors:
grep -rn "width: 600\|width: 640\|width: 680\|width: 720\|width: 760\|min(720" \
kit/plugins/social-media-tools/templates/
Expected output: no matches (the command returns empty). Then open any one template in a browser at 1024px viewport width — the card and copy panel should each measure exactly 1024px with no horizontal scrollbar on the page body.
Optionally trigger a /social-media-tools:share-code run and confirm the Playwright screenshot captures a 1024px-wide card.
Wrapping up
Three gates that must all pass before this plan is marked completed.
Completion Report
No items to report — all requirements met.