From 254b1376f1a1d5ae32ac2634bf85767021f33816 Mon Sep 17 00:00:00 2001 From: greta Date: Thu, 25 Jul 2024 12:36:29 +0200 Subject: [PATCH] feat:Fine-tune CKEditor toolback to look and feel like Nextcloud Signed-off-by: greta --- src/components/TextEditor.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/TextEditor.vue b/src/components/TextEditor.vue index b504d5a21..9dd50a702 100644 --- a/src/components/TextEditor.vue +++ b/src/components/TextEditor.vue @@ -425,5 +425,16 @@ https://github.com/ckeditor/ckeditor5/issues/1142 :root { --ck-z-default: 10000; --ck-balloon-border-width: 0; - } +} +.ck.ck-toolbar.ck-rounded-corners { + border-radius: var(--border-radius-large) !important; +} +.ck-rounded-corners .ck.ck-dropdown__panel, .ck.ck-dropdown__panel.ck-rounded-corners { + border-radius: var(--border-radius-large) !important; + overflow: hidden; +} + +.ck.ck-button { + border-radius: var(--border-radius-element) !important; +}