diff --git a/core/modules/image/image.admin.css b/core/modules/image/image.admin.css index 338a0070430f93513fa4cd14d8b00ca424c4bd38..8b374562f30361ac28340880ba51e6e27028f5e3 100644 --- a/core/modules/image/image.admin.css +++ b/core/modules/image/image.admin.css @@ -51,6 +51,19 @@ top: 50%; } +/** + * Improve image style preview on narrow viewports. + */ +@media screen and (max-width: 470px) { + .image-style-preview .preview-image-wrapper { + float: none; + margin-bottom: 1em; + } + .image-style-preview .preview-image-wrapper:last-child { + margin-bottom: 0; + } +} + /** * Image anchor element. */