Skip to content

Why am I getting extra padding when using the Shields Badges in MDX? #1090

Answered by fuma-nama
kakarj asked this question in Q&A
Discussion options

You must be logged in to vote

Oops I overlooked the img tag, you can disable typography styles with not-prose, like

<div className=“not-prose”>
[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white)](#)
</div>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kakarj
Comment options

@fuma-nama
Comment options

Answer selected by kakarj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants