@@ -22,6 +22,5 @@
@include ck-box-shadow( $ck-inner-shadow );
background-color: ck-color( 'background' );;
}
-
@@ -37,4 +37,8 @@
// 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%;
+ max-height: 100%;