Add support for floated images again
authorAlexander Ebert <ebert@woltlab.com>
Wed, 10 May 2023 12:13:20 +0000 (14:13 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 10 May 2023 12:13:20 +0000 (14:13 +0200)
This was unintentionally removed when purging the files for Redactor.

wcfsetup/install/files/style/ui/ckeditor.scss

index 4580026d6fed90234fe29b09febb890345d93dc2..e9ce3f5fef729262d9302b516f76dc31d0fbb6b7 100644 (file)
@@ -283,6 +283,17 @@ html[data-color-scheme="dark"] {
        text-align: right !important;
 }
 
+/* image float */
+.messageFloatObjectLeft {
+       float: left;
+       margin: 0 20px 20px 0;
+}
+
+.messageFloatObjectRight {
+       float: right;
+       margin: 0 0 20px 20px;
+}
+
 @include screen-xs {
        html.iOS .ck.ck-content {
                /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */