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

Alerts not displaying properly (--base-size- vars not declared) #110

Open
roman910dev opened this issue Jan 26, 2024 · 3 comments
Open

Alerts not displaying properly (--base-size- vars not declared) #110

roman910dev opened this issue Jan 26, 2024 · 3 comments

Comments

@roman910dev
Copy link

In version 5.5.0, github-markdown.css uses --base-size-8 and --base-size-16 vars for .markdown-alert and some other elements.

However, these are not declared so they defaut to 0, removing the padding from alerts.

github-markdown-light.css and github-markdown-dark.css don't use this vars, they use 8px and 16px instead, and alerts render properly.

@roman910dev
Copy link
Author

For anybody bothered by this issue, the workaround is to add the following lines:

.markdown-body {
  --base-size-8: 8px;
  --base-size-16: 16px;
}

@aisevim
Copy link

aisevim commented Apr 13, 2024

#112 🤞

@rhysd
Copy link

rhysd commented Jun 18, 2024

This issue should be fixed by v5.6.0.

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

No branches or pull requests

3 participants