@zhenryx/react-editor 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/style.css +18 -5
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -546,7 +546,7 @@
546
546
  padding: 4px 8px;
547
547
  }
548
548
  .rre-root.is-narrow .rre-tools-scroll {
549
- padding-right: 128px;
549
+ padding-right: 0;
550
550
  }
551
551
  .rre-root.is-narrow .rre-tool {
552
552
  min-width: 46px;
@@ -559,10 +559,15 @@
559
559
  height: 17px;
560
560
  }
561
561
  .rre-root.is-narrow .rre-right {
562
- right: 8px;
563
- padding: 0;
562
+ position: static;
563
+ top: auto;
564
+ right: auto;
565
+ order: 2;
566
+ padding: 0 8px 0 10px;
567
+ border-left: 1px solid var(--rre-line-soft);
564
568
  background: #fff;
565
- box-shadow: -10px 0 12px rgba(255, 255, 255, 0.95);
569
+ box-shadow: none;
570
+ transform: none;
566
571
  }
567
572
  .rre-root.is-narrow .rre-switch {
568
573
  height: 32px;
@@ -735,7 +740,7 @@
735
740
  padding-right: 140px;
736
741
  }
737
742
  .rre-root.is-narrow .rre-tools-scroll {
738
- padding-right: 128px;
743
+ padding-right: 0;
739
744
  }
740
745
  .rre-root .rre-run-mask {
741
746
  position: fixed;
@@ -987,6 +992,7 @@
987
992
  flex: none;
988
993
  align-items: center;
989
994
  justify-content: space-between;
995
+ gap: 8px;
990
996
  padding: 8px 12px;
991
997
  border-bottom: 1px solid var(--rre-line-soft);
992
998
  background: #fff;
@@ -994,8 +1000,15 @@
994
1000
  .rre-md-root .rre-md-mode-group {
995
1001
  display: flex;
996
1002
  gap: 4px;
1003
+ min-width: 0;
1004
+ overflow-x: auto;
1005
+ scrollbar-width: none;
1006
+ }
1007
+ .rre-md-root .rre-md-mode-group::-webkit-scrollbar {
1008
+ display: none;
997
1009
  }
998
1010
  .rre-md-root .rre-md-mode-group button {
1011
+ flex: none;
999
1012
  height: 30px;
1000
1013
  padding: 0 12px;
1001
1014
  border: 0;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.1.0",
6
+ "version": "0.1.1",
7
7
  "description": "A Markdown-backed rich text editor for React 19",
8
8
  "type": "module",
9
9
  "sideEffects": [