8
0

image.css 395 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. .ck-editor__editable {
  6. & .image {
  7. text-align: center;
  8. & > img {
  9. /* Center the image if its width is smaller than content's width. */
  10. margin: 0 auto;
  11. /* Make sure the image never exceeds the size of the parent container (#67). */
  12. max-width: 100%;
  13. }
  14. }
  15. }