Add the missing border to the pseudo dialog for draft restores
authorAlexander Ebert <ebert@woltlab.com>
Fri, 21 Apr 2023 11:27:34 +0000 (13:27 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 21 Apr 2023 13:16:22 +0000 (15:16 +0200)
wcfsetup/install/files/style/ui/ckeditor.scss

index 9525ef39c5bdf81a817a81554465f89c988716a5..2cc075affaf31b1589a950f1df9621278d0191ff 100644 (file)
@@ -179,6 +179,7 @@ html[data-color-scheme="dark"] {
 
 .ckeditor5__restoreDraft__dialog {
        background-color: var(--wcfContentBackground);
+       border: 1px solid transparent;
        border-radius: 8px;
        box-shadow: rgb(0 0 0 / 20%) 0 12px 28px 0, rgb(0 0 0 / 10%) 0 2px 4px 0;
        color: var(--wcfContentText);
@@ -199,6 +200,12 @@ html[data-color-scheme="dark"] {
        margin-top: 20px;
 }
 
+html[data-color-scheme="dark"] {
+       .ckeditor5__restoreDraft__dialog {
+               border-color: var(--wcfContentBorderInner);
+       }
+}
+
 /* Styling of inline errors for the editor. */
 .ck.ck-editor + .innerError {
        margin-top: 0;