/* * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ .ck-editor__editable { & .image { text-align: center; & > img { /* 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%; } } }