AVAnnotate / project-client

The source directory for the client code shared by all AVAnnotate projects.
0 stars 0 forks source link

Update spacing for `p` tags in rich text blocks #83

Closed camdendotlol closed 1 month ago

camdendotlol commented 1 month ago

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 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.