-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
component: commentshelp wantedExternal contributions actively solicitedExternal contributions actively solicitedtype: cleanup
Milestone
Description
Problem statement
Comments contain a body element which inherits any styling done to body as a whole. This can cause weird rendering bugs that are hard to track down.
Expected Behavior
Comments should look like this no matter what:

Actual Behavior
Comments inherit styling, here's an example where the body's height is set to calc(100% - 2em), which is how I discovered this. Not sure what other inherited properties might be bad.

Steps to Reproduce
- Open the playground and add
height: calc(100% - 2em);to the body style. - Grab a procedure block and open its comment.
Operating System and Browser
- Desktop Chrome
- Desktop Firefox
- Windows Edge
(Comment rendering doesn't work at all on IE)
Additional Information
N/A
Metadata
Metadata
Assignees
Labels
component: commentshelp wantedExternal contributions actively solicitedExternal contributions actively solicitedtype: cleanup
