Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix <Callout> icon margin #1017

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

amirhhashemi
Copy link
Contributor

@amirhhashemi amirhhashemi commented Jan 10, 2025

  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

It looks like the <Callout> icons are positioned slightly above the title. This PR addresses that issue.

Before:
image

After:
image

The calculations of whoever wrote this were correct. However, because of how box-sizing works in CSS, it didn't have the intended effect. Switching from padding to margin resolved the problem.

Copy link

stackblitz bot commented Jan 10, 2025

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Jan 10, 2025

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit 877f823
🔍 Latest deploy log https://app.netlify.com/sites/solid-docs/deploys/678138d5fce6bb0008d05ffe
😎 Deploy Preview https://deploy-preview-1017--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LadyBluenotes LadyBluenotes merged commit adad79a into solidjs:main Jan 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants