Skip to content

Add header levels to CSS reset #1714

@cchaos

Description

@cchaos

I thought we had this somewhere, and maybe it was only in Kibana at some point, but I think we should equal out all the h1 -> h6 tags in the CSS reset. Otherwise, if consumers use these tags outside of EuiTitle or EuiText they get the browser's default rendering.

Example usage

Someone placed an h2 tag inside a Vega tooltip so it's quite large:

Screen Shot 2019-03-11 at 22 36 32 PM

Metadata

Metadata

Assignees

Labels

design decisionUse this to flag an item that needs input from the design team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions