-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
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 the as="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 style vertical-align: bottom
to Pillar.Image
seemed to resolve the issue.
Image where as="picture"
property is set
Image where default as
property is set

Reproduction steps
1. Create Pillar with Pillar.Image
2. Set `as="picture"` property to `Pillar.Image`
3. View Pillar. Notice that the border is not rounded on the bottom.
Expected behavior
Pillar.Image
with as="picture"
property set will still have a rounded border on the bottom.
Screenshots
Browsers
Chrome
OS
Mac