Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fix: The image goes beyond the boundaries of the parent block. Closes…
Browse files Browse the repository at this point in the history
… #67.
  • Loading branch information
Piotr Jasiun committed Mar 13, 2017
2 parents 8e36645 + b8eb002 commit d1ee92d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion theme/imagecaption/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@
@include ck-box-shadow( $ck-inner-shadow );
background-color: ck-color( 'background' );;
}

}
}
3 changes: 3 additions & 0 deletions theme/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}

0 comments on commit d1ee92d

Please sign in to comment.