@ckeditor/ckeditor5-ui 45.0.0-alpha.5 → 45.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -577,15 +577,22 @@ a.ck.ck-button{
577
577
  z-index:1;
578
578
  }
579
579
 
580
+ :root{
581
+ --ck-visual-viewport-left:0px;
582
+ --ck-visual-viewport-top:0px;
583
+ }
584
+
580
585
  .ck.ck-sticky-panel .ck-sticky-panel__content_sticky{
581
586
  z-index:var(--ck-z-panel);
582
587
  position:fixed;
583
588
  top:0;
589
+ transform:translate(var(--ck-visual-viewport-left, 0px), var(--ck-visual-viewport-top, 0px));
584
590
  }
585
591
 
586
592
  .ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{
587
593
  top:auto;
588
594
  position:absolute;
595
+ transform:none;
589
596
  }
590
597
 
591
598
  .ck.ck-autocomplete{
package/dist/index.css CHANGED
@@ -816,15 +816,22 @@ a.ck.ck-button {
816
816
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
817
817
  */
818
818
 
819
+ :root {
820
+ --ck-visual-viewport-left: 0px;
821
+ --ck-visual-viewport-top: 0px;
822
+ }
823
+
819
824
  .ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
820
825
  z-index: var(--ck-z-panel); /* #315 */
821
826
  position: fixed;
822
827
  top: 0;
828
+ transform: translate(var(--ck-visual-viewport-left, 0px), var(--ck-visual-viewport-top, 0px));
823
829
  }
824
830
 
825
831
  .ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit {
826
832
  top: auto;
827
833
  position: absolute;
834
+ transform: none;
828
835
  }
829
836
 
830
837
  /*