Skip to content

Commit

Permalink
Merge pull request #180 from isubit/D8ISUTHEME-165
Browse files Browse the repository at this point in the history
D8ISUTHEME-165 Move responsive image CSS rule to avoid issues in CKEditor
  • Loading branch information
sacarney committed Sep 14, 2021
2 parents e0975cf + fbc3c8d commit 5d48353
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ caption {
/* ## IMAGES
/* -------------------------------------- */

img:not(.isu-wordmark-logo_default):not(.isu-wordmark-logo_custom):not(.isu-footer-logo) { /* See theme.css */
img {
max-width: 100%;
height: auto;
}
Expand Down
5 changes: 5 additions & 0 deletions css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,11 @@ blockquote.isu-pull-quote {

/* --- ## Images --- */

img:not(.isu-wordmark-logo_default):not(.isu-wordmark-logo_custom):not(.isu-footer-logo) {
max-width: 100%;
height: auto;
}

.isu-body img.align-left {
margin: 1rem 1rem 1rem 0;
}
Expand Down

0 comments on commit 5d48353

Please sign in to comment.