Skip to content

Commit 6b1aab1

Browse files
committed
1 parent 2692b1d commit 6b1aab1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464

6565
/* Override the default styling added in CKEditor v46.0.0 */
6666
font-family: inherit;
67-
font-size: inherit;
68-
color: inherit;
69-
line-height: inherit;
70-
word-break: inherit;
67+
font-size: inherit;
68+
color: inherit;
69+
line-height: inherit;
70+
word-break: inherit;
7171
}
7272

7373
.ck.ck-button.ck-button:not(.ck-disabled) {
@@ -360,6 +360,15 @@ html[data-color-scheme="light"] .ck-body-wrapper .ck.ck-balloon-panel {
360360
}
361361
}
362362

363+
/* Fix the background color and size when editing a link. */
364+
a.ck.ck-button.ck-link-toolbar__preview,
365+
a.ck.ck-button.ck-link-toolbar__preview:active,
366+
a.ck.ck-button.ck-link-toolbar__preview:focus {
367+
background-color: var(--wcfButtonBackground);
368+
padding-bottom: 2px !important;
369+
padding-top: 2px !important;
370+
}
371+
363372
/* Increase the width of the splitbutton arrows. */
364373
.ck.ck-toolbar__items .ck.ck-splitbutton > .ck-splitbutton__arrow {
365374
padding-left: var(--ck-spacing-medium);

0 commit comments

Comments
 (0)