Fix the visuals of dialog to restore the draft on screen-xs
authorAlexander Ebert <ebert@woltlab.com>
Thu, 3 Aug 2023 16:59:00 +0000 (18:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 3 Aug 2023 16:59:00 +0000 (18:59 +0200)
wcfsetup/install/files/style/ui/ckeditor.scss

index e36045a72e7298530665ca68ab69c7d72e886d83..5b53d5fdd546674072a16014c2c96960475eb3f2 100644 (file)
@@ -530,4 +530,13 @@ html.touch .ck.ck-balloon-panel.ck-tooltip {
        .ck.ck-input {
                --ck-input-width: 100%;
        }
+
+       .ckeditor5__restoreDraft__buttons {
+               flex-direction: column-reverse;
+               row-gap: 10px;
+       }
+
+       .ckeditor5__restoreDraft__buttons button[data-type="preview"] {
+               margin-right: 0;
+       }
 }