Skip to content

Commit

Permalink
Merge pull request #9914 from nextcloud/feat/ckeditor-tool
Browse files Browse the repository at this point in the history
feat:fine-tune CKEditor toolback to look and feel like Nextcloud
  • Loading branch information
hamza221 authored Jul 31, 2024
2 parents f04d84e + 254b137 commit 4f42b1e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</style>

0 comments on commit 4f42b1e

Please sign in to comment.