CSS: ck-z-modal -> ck-z-panel (for v41.0.0)

See also:
- https://github.com/ckeditor/ckeditor5/blob/v41.0.0/CHANGELOG.md

  > ui: The --ck-z-modal CSS custom property was renamed to --ck-z-panel.
  > We recommend updating custom CSS and integrations that use this custom
  > property to avoid presentation issues. See #14973.
- https://github.com/ckeditor/ckeditor5/issues/14973
This commit is contained in:
Tony Narlock 2024-01-27 06:47:29 -06:00
parent f91a79c5e8
commit f36c96602d
2 changed files with 2 additions and 2 deletions

View File

@ -228,6 +228,6 @@ function moveElement( parent, child ) {
child.style.position = 'absolute';
child.style.left = left + 'px';
child.style.top = top + 'px';
child.style.zIndex = 'var(--ck-z-modal)';
child.style.zIndex = 'var(--ck-z-panel)';
child.style.pointerEvents = 'none';
}

View File

@ -31,5 +31,5 @@
}
.ck.ck-toolbar-container {
z-index: calc(var(--ck-z-modal) + 2);
z-index: calc(var(--ck-z-panel) + 2);
}