-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
bugThis issue is a bug.This issue is a bug.
Description
The spans that are created by the extension can mess with Flex layouts:
<div id="container" style="display: flex; flex-direction: row;">
Text with<br>a break
</div>This renders correctly as one block across two rows
When searching with the extension, the html ends up being the following (simplified):
<div id="container" style="display: flex; flex-direction: row;">
<span>Text with</span><br><span>a break</span>
</div>The individual parts of the text are now considered separate blocks and are affected by the flex layout -> they render in the same row because of flex-direction: row
The immediate solution could be to set display: contents on the created spans so they don't generate their own block and are unaffected by flex
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.