Skip to content

Commit

Permalink
It is unlikely the --ck-z-toolbar-dropdown-panel custom property will…
Browse files Browse the repository at this point in the history
… be used again somewhere else because it is too specific.
  • Loading branch information
oleq committed Aug 21, 2020
1 parent d08e944 commit ca3788d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@
* See https://github.com/ckeditor/ckeditor5/issues/7874
*/
.ck.ck-toolbar .ck-dropdown__panel {
z-index: var(--ck-z-toolbar-dropdown-panel);
z-index: calc( var(--ck-z-modal) + 1 );
}
1 change: 0 additions & 1 deletion packages/ckeditor5-ui/theme/globals/_zindex.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
:root {
--ck-z-default: 1;
--ck-z-modal: calc( var(--ck-z-default) + 999 );
--ck-z-toolbar-dropdown-panel: calc( var(--ck-z-modal) + 1 );
}

0 comments on commit ca3788d

Please sign in to comment.