Foundation.mozilla.org: Image text mini layout bug

Created on 29 Apr 2019  路  5Comments  路  Source: mozilla/foundation.mozilla.org

Describe the bug

  • Icon and layout in image text mini component changes depending on copy on right side.

To Reproduce

Expected behavior

  • Icon and layout should look the same regardless of how much text there is and how text is formatted.

Screenshots
image

This is happening on prod here https://foundation.mozilla.org/en/fellowships/apply/ (correct) vs https://foundation.mozilla.org/en/fellowships/partner-with-us/ (icon is too large).

cc @youriwims @mmmavis

bug frontend wagtail

All 5 comments

@kristinashu how big should the image section be? e.g., as wide as the original image dimension? certain % of the width of the "image text mini" component? fixed width?

The image should be fixed at 50x50px (image should crop if something larger or non-square is uploaded).

@kristinashu does the 50*50px dimension apply to image on all screen sizes?

Yes please. The way it's mocked up kinda breaks the grid but I've added a light gray bounding box to help convey with the idea.

image

@kristinashu thank you! That screencap is very helpful!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taisdesouzalessa picture taisdesouzalessa  路  5Comments

xmatthewx picture xmatthewx  路  4Comments

kristinashu picture kristinashu  路  5Comments

kristinashu picture kristinashu  路  3Comments

hannahkane picture hannahkane  路  3Comments