@ckeditor/ckeditor5-ui
Version:
The UI framework and standard UI library of CKEditor 5.
21 lines (17 loc) • 483 B
CSS
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
:root {
--ck-toolbar-dropdown-max-width: 60vw;
}
.ck.ck-toolbar-dropdown > .ck-dropdown__panel {
/* https://github.com/ckeditor/ckeditor5/issues/5586 */
width: max-content;
max-width: var(--ck-toolbar-dropdown-max-width);
& .ck-button {
&:focus {
z-index: calc(var(--ck-z-default) + 1);
}
}
}