Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Vanilla and markdown text use different line-heights #1503

Closed
scothis opened this issue Oct 14, 2020 · 0 comments · Fixed by #1534
Closed

Vanilla and markdown text use different line-heights #1503

scothis opened this issue Oct 14, 2020 · 0 comments · Fixed by #1534
Assignees
Labels
bug Something isn't working ui

Comments

@scothis
Copy link
Contributor

scothis commented Oct 14, 2020

What steps did you take and what happened:

Mixing vanilla and markdown rendered text next to each other horizontally (like in a table). The markdown rendered text is wrapped in a <p> which increases the line-height from 1.0 to 1.2rem.

Screen Shot 2020-10-14 at 6 54 21 PM

In this table, I'm using markdown to italicize the "unknown" and "empty" values to distinguish them from literal values. There's nothing inherently special about tables other then they make the line height difference more apparent.

What did you expect to happen:

Text should render with a common baseline/line-height regardless of whether it is markdown rendered or not.

Environment:

  • Octant version (use octant version): 0.16.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant