Skip to content

Commit

Permalink
Restrict image widths in figures for unbaked styles (#2104)
Browse files Browse the repository at this point in the history
For: openstax/unified#2673

Co-authored-by: staxly[bot] <35789409+staxly[bot]@users.noreply.github.com>
  • Loading branch information
RoyEJohnson and staxly[bot] authored Jan 9, 2024
1 parent c335738 commit 48c1666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic-styles/content-common.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ figure {

// do not wrap this in a .media so it applies to editing in Aloha
img {
max-width: 100%;
width: 100%;
margin: 0; //overrides top&bott margin on img, all img EXCEPT those in figure tags should have 1em top&bott margin
}

Expand Down

0 comments on commit 48c1666

Please sign in to comment.