By default, browsers assign a height of 0 to empty p elements (<p></p>), so empty new lines created in the rich text editor didn't seem to display here in the project client. This PR updates the RichText component to require a minimum height on p elements that matches the line height so those empty paragraphs will take up vertical space on the page.
Summary
By default, browsers assign a height of 0 to empty
p
elements (<p></p>
), so empty new lines created in the rich text editor didn't seem to display here in the project client. This PR updates theRichText
component to require a minimum height onp
elements that matches the line height so those empty paragraphs will take up vertical space on the page.