patternfly / patternfly-org

Home of patternfly.org
https://www.patternfly.org
MIT License
69 stars 136 forks source link

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

Open edonehoo opened 5 days ago

edonehoo commented 5 days 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

edonehoo commented 5 days 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?