The max-width limit here should not override the width of images here, since they should generally be the width of their figure or cover containers.
Separately, we weren't specifying a max-width for alignfull, which means that they were maxing out at 100% by default and not taking into account the left/right padding on the container.
Fixes https://github.com/WordPress/theme-experiments/issues/170
The
max-width
limit here should not override the width of images here, since they should generally be the width of theirfigure
or cover containers.Separately, we weren't specifying a
max-width
foralignfull
, which means that they were maxing out at100%
by default and not taking into account the left/right padding on the container.Screenshots
Before
After