@seafile/comment-editor 1.0.10 → 1.0.12

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.
@@ -86,6 +86,7 @@
86
86
  .sdoc-dropdown-menu .sdoc-dropdown-menu-item .sdocfont {
87
87
  font-size: 14px;
88
88
  line-height: 14px;
89
+ color: #666;
89
90
  }
90
91
 
91
92
  .sdoc-dropdown-menu .sdoc-dropdown-menu-item .sdoc-dropdown-item-content {
@@ -113,6 +113,7 @@
113
113
  border: none !important;
114
114
  color: #666;
115
115
  background-color: transparent;
116
+ padding-inline: 0;
116
117
  }
117
118
 
118
119
  .comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:disabled {
@@ -28,7 +28,7 @@
28
28
  .sdoc-image-hover-menu-container .hover-menu-container .op-item {
29
29
  position: relative;
30
30
  font-size: 12px;
31
- color: #666;
31
+ color: #212529;
32
32
  padding: 0 5px;
33
33
  border-radius: 2px;
34
34
  min-width: 24px;
@@ -39,7 +39,6 @@
39
39
  }
40
40
 
41
41
  .sdoc-image-hover-menu-container .hover-menu-container .op-item:hover {
42
- color: #666;
43
42
  text-decoration: none;
44
43
  background: #EFEFEF;
45
44
  }
@@ -73,18 +72,23 @@
73
72
  }
74
73
 
75
74
  .sdoc-image-hover-menu-container .align-popover {
76
- left: 80px;
75
+ left: 100px;
77
76
  min-width: 6rem;
78
77
  }
79
78
 
80
79
  .sdoc-image-hover-menu-container .border-popover {
81
- left: 115px;
80
+ left: 104px;
82
81
  flex-direction: row;
83
82
  height: 80px;
84
83
  align-items: center;
85
84
  padding: 0 8px;
86
85
  }
87
86
 
87
+ .sdoc-image-hover-menu-container .border-popover.sdoc-block-image {
88
+ left: 144px;
89
+ }
90
+
91
+
88
92
  .sdoc-image-hover-menu-container .border-popover .sdoc-dropdown-menu-item .sdoc-dropdown-item-content .sdoc-check-mark {
89
93
  transform: translateX(-24px);
90
94
  }
@@ -276,7 +276,9 @@ const ImageHoverMenu = _ref => {
276
276
  className: "sdocfont sdoc-check-mark sdoc-dropdown-item-right-icon"
277
277
  }));
278
278
  })), popoverState.borderPopover && /*#__PURE__*/_react.default.createElement("div", {
279
- className: "sdoc-image-popover border-popover sdoc-dropdown-menu"
279
+ className: (0, _classnames.default)('sdoc-image-popover border-popover sdoc-dropdown-menu', {
280
+ 'sdoc-block-image': type === _constants.IMAGE_BLOCK
281
+ })
280
282
  }, _constants2.IMAGE_BORDER_TYPE.map(item => {
281
283
  return /*#__PURE__*/_react.default.createElement("div", {
282
284
  key: item.type,
@@ -25,7 +25,7 @@
25
25
 
26
26
  .link-op-menu-link {
27
27
  font-size: 12px;
28
- color: #666;
28
+ color: #212529;
29
29
  padding: 0 5px;
30
30
  border-radius: 2px;
31
31
  line-height: 20px;
@@ -33,7 +33,6 @@
33
33
  }
34
34
 
35
35
  .link-op-menu-link:hover {
36
- color: #666;
37
36
  text-decoration: none;
38
37
  background: #EFEFEF;
39
38
  }
@@ -44,7 +43,6 @@
44
43
  }
45
44
 
46
45
  .link-op-icon {
47
- color: #666;
48
46
  padding: 4px;
49
47
  border-radius: 2px;
50
48
  margin-left: 8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",