diff --git a/ckeditor.css b/ckeditor.css index 796615a..b5765ab 100644 --- a/ckeditor.css +++ b/ckeditor.css @@ -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; } @@ -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; }