浏览代码

Changed `.ck-fake-panels` to `.ck-fake-panel`.

dkonopka 6 年之前
父节点
当前提交
d50623a6b0

+ 1 - 1
packages/ckeditor5-ui/src/panel/balloon/contextualballoon.js

@@ -688,7 +688,7 @@ class FakePanelsView extends View {
 			tag: 'div',
 			tag: 'div',
 			attributes: {
 			attributes: {
 				class: [
 				class: [
-					'ck-fake-panels',
+					'ck-fake-panel',
 					bind.to( 'numberOfPanels', number => number ? '' : 'ck-hidden' )
 					bind.to( 'numberOfPanels', number => number ? '' : 'ck-hidden' )
 				],
 				],
 				style: {
 				style: {

+ 5 - 5
packages/ckeditor5-ui/theme/components/panel/fakepanel.css

@@ -3,25 +3,25 @@
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 
-.ck .ck-fake-panels {
+.ck .ck-fake-panel {
 	position: absolute;
 	position: absolute;
 
 
 	/* Fake panels should be placed under main balloon content. */
 	/* Fake panels should be placed under main balloon content. */
 	z-index: calc(var(--ck-z-modal) - 1);
 	z-index: calc(var(--ck-z-modal) - 1);
 }
 }
 
 
-.ck .ck-fake-panels div {
+.ck .ck-fake-panel div {
 	position: absolute;
 	position: absolute;
 }
 }
 
 
-.ck .ck-fake-panels div:nth-child( 1 ) {
+.ck .ck-fake-panel div:nth-child( 1 ) {
 	z-index: 3;
 	z-index: 3;
 }
 }
 
 
-.ck .ck-fake-panels div:nth-child( 2 ) {
+.ck .ck-fake-panel div:nth-child( 2 ) {
 	z-index: 2;
 	z-index: 2;
 }
 }
 
 
-.ck .ck-fake-panels div:nth-child( 3 ) {
+.ck .ck-fake-panel div:nth-child( 3 ) {
 	z-index: 1;
 	z-index: 1;
 }
 }