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

[Bug] Lists within <Card> elements don’t render correctly #4837

Open
cwcowell opened this issue Oct 8, 2024 · 1 comment
Open

[Bug] Lists within <Card> elements don’t render correctly #4837

cwcowell opened this issue Oct 8, 2024 · 1 comment
Assignees

Comments

@cwcowell
Copy link
Contributor

cwcowell commented Oct 8, 2024

Describe the bug

Ordered or unordered lists within a <Card> element are rendered flush against the left edge of the card, instead of indented slightly like the rest of the card’s text.

To reproduce

In a .mdx file include this:

The quick brown fox jumps over the lazy dog.

<Card>
Hello world!

* Foo
* Bar
</Card>

Expected behavior

The bullets should be to the right of where they are now. They should be under the “H” of “Hello” instead of pushing up against the left edge of the card’s border.

Screenshots

Current behavior
image

Expected behavior
image

CLI Version

0.44.10

@cwcowell
Copy link
Contributor Author

cwcowell commented Oct 8, 2024

I tried adding &nbsp; a bunch of times before each item in the list to shove it over to the right, but that broke the rendering of the bullet. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants