Closed lkzwc closed 9 months ago
This is expected. The default tailwind stylesheet includes a CSS reset which resets the list style. If you want to bring that back, set https://docs.astro.build/en/guides/integrations-guide/tailwind/#applybasestyles to false
and import a CSS file with this only:
@tailwind components;
@tailwind utilities;
This is expected. The default tailwind stylesheet includes a CSS reset which resets the list style. If you want to bring that back, set https://docs.astro.build/en/guides/integrations-guide/tailwind/#applybasestyles to
false
and import a CSS file with this only:@tailwind components; @tailwind utilities;
Thank you , That's why?
https://docs.astro.build/en/guides/integrations-guide/tailwind/#applybasestyles
Is there any way to only set MDX settings? After modifying according to what you said, the other styles on the interface have been modified。
No, the CSS applies globally. Make sure all your layouts import the CSS file, or if you want to auto apply to all pages like @astrojs/tailwind
, you can use an integration:
No, the CSS applies globally. Make sure all your layouts import the CSS file, or if you want to auto apply to all pages like
@astrojs/tailwind
, you can use an integration:
The MD file will eventually be parsed into an page. so ??
I solve it ,use @tailwindcss/typography ,Whether need to add it for troubleshooting ?
Astro Info
If this issue only occurs in one browser, which browser is a problem?
google
Describe the Bug
In MDX, the content in MD format will be overwritten by tailwindcss, such as h1 h2, li, and so on
What's the expected result?
this is the fact
we want to see, the more info in this repository respository
Link to Minimal Reproducible Example
https://github.com/lkzwc/astrodemo
Participation