Skip to content

Commit

Permalink
INTERIM-189 Adjusted sizing and spacing of images and figures in CKed…
Browse files Browse the repository at this point in the history
…itor (#202)
  • Loading branch information
sacarney authored Mar 3, 2020
1 parent a39ba39 commit 80dc73b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ckeditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,10 @@ a.link-button:hover {

figure.image {
display: table;
margin: 1rem;
margin: 0;
}

figure.image img {
max-width: 100%;
display: block;
margin: 0;
}
Expand All @@ -110,9 +109,15 @@ figure.image br {
display: none;
}

figure.image.floated-left { margin: 0.25rem 1rem 0.25rem 0; }
figure.image.floated-left,
.cke_widget_image[style*="float: left"] {
margin: 0.25rem 1rem 0.25rem 0;
}

figure.image.floated-right { margin: 0.25rem 0 0.25rem 1rem; }
figure.image.floated-right,
.cke_widget_image[style*="float: right"] {
margin: 0.25rem 0 0.25rem 1rem;
}

figure.image.floated-left img,
figure.image.floated-right img { margin: 0; }
Expand Down

0 comments on commit 80dc73b

Please sign in to comment.