patternfly / patternfly-org

Home of patternfly.org
https://www.patternfly.org
MIT License
70 stars 138 forks source link

Bug - Fix spacing issue that appears in React and HTML docs #4257

Open edonehoo opened 2 months ago

edonehoo commented 2 months ago

New lines aren't formatted properly in these docs, looks like its due to p.pf-v6-c-content--p.ws-p in a css file

Example (there aren't any new lines when there should be a few paragraph breaks here): Image

edonehoo commented 2 months ago

It's true that p.pf-v6-c-content--p.ws-p in mdx.css has a margin set to 0, which is causing this. However, removing it will lead to spacing issues in org docs (too much space). How are React/HTML docs inheriting this class? Can we specify the margin depending on which repo the docs are from? Or update something in packages/documentation-framework/scripts/md/styled-tags.js?