cloudfour.com-patterns icon indicating copy to clipboard operation
cloudfour.com-patterns copied to clipboard

Image block captions should be able to extend past the width of the image

Open gerardo-rodriguez opened this issue 2 years ago • 3 comments

Right now, the layout is a bit funky as the width of the caption is restrained to the width of the image.

Screen Shot 2022-08-23 at 4 41 01 PM

gerardo-rodriguez avatar Aug 23 '22 23:08 gerardo-rodriguez

@gerardo-rodriguez Can you provide more context or a link? I'm having trouble understanding the issue from the screenshot.

tylersticka avatar Sep 12 '22 18:09 tylersticka

@tylersticka Sure thing!

There is much more horizontal room for the caption, but it's restrained to the width of its image.

Article: https://cloudfour.com/thinks/removing-layout-shift-from-a-progressively-enhanced-burger-menu/

Screen Shot 2022-09-12 at 11 46 54 AM

gerardo-rodriguez avatar Sep 12 '22 18:09 gerardo-rodriguez

For comparison, this caption extends past the width of its image.

Screen Shot 2022-09-12 at 11 51 19 AM

Article: https://cloudfour.com/thinks/responsive-design-process-that-works/

gerardo-rodriguez avatar Sep 12 '22 18:09 gerardo-rodriguez