Skip to content

fix(website): adjust callout margin - #327

Merged
Donny/강동윤 (kdy1) merged 1 commit into
swc-project:mainfrom
SoonIter:fix/callout-margin
Jul 22, 2026
Merged

fix(website): adjust callout margin#327
Donny/강동윤 (kdy1) merged 1 commit into
swc-project:mainfrom
SoonIter:fix/callout-margin

Conversation

@SoonIter

@SoonIter Soon (SoonIter) commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

before

image

after

image
  • apply symmetric vertical spacing to swc-callout

Testing

  • pnpm exec prettier --check apps/website/src/styles/index.css
  • pnpm --filter swc-site build

Copilot AI review requested due to automatic review settings July 22, 2026 10:50
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Jul 22, 2026 10:50am

Request Review

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Soon (@SoonIter) is attempting to deploy a commit to the SWC Project Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the base styling for the swc-callout component to use symmetric vertical spacing, improving layout consistency around callouts in the website.

Changes:

  • Adjusted .swc-callout margin from top-only spacing (1.5rem 0 0) to symmetric vertical spacing (1.5rem 0).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kdy1 Donny/강동윤 (kdy1) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kdy1

Copy link
Copy Markdown
Member

Btw, I don't remember how does that css property work lol

@kdy1
Donny/강동윤 (kdy1) merged commit f3ed2e1 into swc-project:main Jul 22, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants