🐛 [BUG] - Pillar Image added whitespace when as="picture"
attribute is used.
#911
Labels
bug
Something isn't working
as="picture"
attribute is used.
#911
Describe the bug
Found while working on: https://github.com/github/marketing-platform-services/issues/3793
Relevant PR: https://github.com/github/github/pull/359729
When adding a
Pillar.Image
and using theas="picture"
the border on the bottom of the image was not rounded. Inspecting the page in the developers tools showed there to be some additional whitespace at the bottom of the image causing the issue. As a workaround, adding the stylevertical-align: bottom
toPillar.Image
seemed to resolve the issue.Image where
as="picture"
property is setImage where default
as
property is setReproduction steps
Expected behavior
Pillar.Image
withas="picture"
property set will still have a rounded border on the bottom.Screenshots
Browsers
Chrome
OS
Mac
The text was updated successfully, but these errors were encountered: