Skip to content

[EuiText] Remove img's from styling #7356

@julianrosado

Description

@julianrosado

Is your feature request related to a problem? Please describe.

[EuiText] adds a margin-bottom to a number of text elements and also img's . See styles. Presumably this is to account for img float's as described in EUI documentation.

This has an unintended side effect of add margin's to images that are added to things such as callouts, necessitating some style overrides.

While, admittedly, images in callouts are not a common feature, I would argue image floats in Kibana are an even rarer bird.

Describe the solution you'd like
Remove img 's from having their styles modified by EuiText

Describe alternatives you've considered
The one went with was a recommendation by @cee-chen to override the margin with !important styles.

Desired timeline
No specific deadline

Additional context
Reach out if you want an image!

Metadata

Metadata

Assignees

Labels

No labels
No labels

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