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

Fix: The image goes beyond the boundaries of the parent block. Closes… #70

Merged
merged 2 commits into from
Mar 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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%;
}