PrimeDAO / prime-launch-dapp

https://launch.prime.xyz
6 stars 13 forks source link

add `white-space: pre-wrap;` to all `<pre>` elements #752

Open ogsamovar opened 2 years ago

ogsamovar commented 2 years ago

@dkent600 to merge this PR that adds important changes to the style of the documentation. We need to implement to publish the documentation. Everything in the PR works fine except one outstanding issue:

PROBLEM At the moment <pre> and <code> elements are causing the page to break. See here https://prime-launch-dapp-git-feat-docs-style-updates-curvelabs.vercel.app/documentation/CONTRIBUTETOALAUNCH

POTENTIAL SOLUTION We need to add white-space: pre-wrap; to all <pre> elements concerning the documentation style. I'm not aware that this solution would break other parts of the website/dapp.

The intended effect is showed in the screenshot:

Screen Shot 2022-04-27 at 12 34 50