Răsfoiți Sursa

Merge branch 'master' into t/68

Szymon Kupś 9 ani în urmă
părinte
comite
bcc6901a7b

+ 0 - 1
packages/ckeditor5-image/theme/imagecaption/theme.scss

@@ -24,6 +24,5 @@
 			@include ck-box-shadow( $ck-inner-shadow );
 			background-color: ck-color( 'background' );;
 		}
-
 	}
 }

+ 3 - 0
packages/ckeditor5-image/theme/theme.scss

@@ -37,4 +37,7 @@
 
 	// Center the image if its width is smaller than content's width.
 	margin: 0 auto;
+
+	// Make sure the image never exceeds the size of the parent container (#67).
+	max-width: 100%;
 }