Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Other: Increased the specificity of CSS rules. Introduced the .ck cla…
Browse files Browse the repository at this point in the history
…ss for editor UI components (see: ckeditor/ckeditor5#494).
  • Loading branch information
oleq committed Mar 23, 2018
1 parent 361f334 commit e548bd0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions theme/classiceditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* For licensing, see LICENSE.md.
*/

.ck-editor {
.ck.ck-editor {
/* All the elements within `.ck-editor` are positioned relatively to it.
If any element needs to be positioned with respect to the <body>, etc.,
it must land outside of the `.ck-editor` in DOM. */
position: relative;
}

.ck-editor__top .ck-sticky-panel .ck-toolbar {
/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
z-index: var(--ck-z-modal);
& .ck-editor__top .ck-sticky-panel .ck-toolbar {
/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
z-index: var(--ck-z-modal);
}
}

0 comments on commit e548bd0

Please sign in to comment.