@tmagic/editor 1.0.0-beta.2 → 1.0.0-beta.5

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.
package/dist/style.css CHANGED
@@ -28,11 +28,11 @@
28
28
  z-index: 1;
29
29
  align-items: center;
30
30
  }
31
- .m-editor-nav-menu .menu-left {
32
- padding-left: 16px;
31
+ .m-editor-nav-menu .menu-center {
32
+ justify-content: center;
33
33
  }
34
34
  .m-editor-nav-menu .menu-right {
35
- padding-right: 16px;
35
+ justify-content: flex-end;
36
36
  }
37
37
  .m-editor-nav-menu .menu-item {
38
38
  flex-direction: row;
@@ -481,18 +481,19 @@
481
481
  position: relative;
482
482
  width: 100%;
483
483
  height: calc(100% - 32px);
484
- overflow: auto;
484
+ overflow: hidden;
485
+ display: flex;
486
+ justify-content: center;
487
+ align-items: center;
485
488
  }
486
489
  .m-editor-stage-container {
487
- transition: transform 0.3s;
488
- transform-origin: center -50%;
490
+ width: 100%;
491
+ height: 100%;
489
492
  z-index: 0;
490
- top: 50%;
491
- margin: 0 auto;
492
493
  position: relative;
493
- width: 375px;
494
- height: 80%;
495
494
  border: 1px solid #d9dbdd;
495
+ transition: transform 0.3s;
496
+ box-sizing: content-box;
496
497
  }
497
498
  .m-editor-stage-container::-webkit-scrollbar {
498
499
  width: 0 !important;