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!
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 forimgfloat'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 EuiTextDescribe alternatives you've considered
The one went with was a recommendation by @cee-chen to override the margin with
!importantstyles.Desired timeline
No specific deadline
Additional context
Reach out if you want an image!