patternfly-org icon indicating copy to clipboard operation
patternfly-org copied to clipboard

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

Open edonehoo opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Sep 13 '24 14:09 edonehoo

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?

edonehoo avatar Sep 13 '24 14:09 edonehoo