@seafile/comment-editor 1.0.15 → 1.0.16

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/README.md CHANGED
@@ -9,7 +9,7 @@ comment-editor/
9
9
  dist // 打包后的文件
10
10
  node_modules/ // 依赖第三方组件库
11
11
  public/ // 公共资源文件库
12
- index.html
12
+ index.html
13
13
  favicon.ico
14
14
  site(demo 模块, 基于组件库创建的测试模块)
15
15
  _i18n // 国际化模块
@@ -26,7 +26,7 @@ comment-editor/
26
26
  pages // 封装的视图组件
27
27
  index.js // 组件库导出内容入口文件
28
28
  tests // 测试
29
- webpack // site 打包文件
29
+ webpack // site 打包文件
30
30
  config.js // site 打包配置文件
31
31
  dev-server.js // site 后端服务器
32
32
  package.json
@@ -40,4 +40,4 @@ comment-editor/
40
40
 
41
41
  ## 新版本发布
42
42
  1. 更新 package.json 中的 version 属性
43
- 2. 执行 npm publish 完成新版本发布
43
+ 2. 执行 npm publish 完成新版本发布
@@ -11,6 +11,7 @@
11
11
  bottom: 0;
12
12
  left: 0;
13
13
  background-color: rgba(0, 0, 0, 0.5);
14
+ container-type: inline-size;
14
15
  }
15
16
 
16
17
  @keyframes spin {
@@ -32,7 +33,6 @@
32
33
  animation: spin 1s linear infinite;
33
34
  user-select: none;
34
35
  pointer-events: none;
35
- margin-left: 15px;
36
36
  }
37
37
 
38
38
  .sdoc-image-process-container .copyright {
@@ -40,6 +40,12 @@
40
40
  color: #fff;
41
41
  }
42
42
 
43
+ @container (max-width: 140px) {
44
+ .sdoc-image-process-container .copyright {
45
+ display: none;
46
+ }
47
+ }
48
+
43
49
  .sdoc-image-content.upload-error>span {
44
50
  min-height: 300px;
45
51
  min-width: 400px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",
@@ -90,7 +90,6 @@
90
90
  "cross-env": "^7.0.3",
91
91
  "css-loader": "^6.5.1",
92
92
  "css-minimizer-webpack-plugin": "5.0.1",
93
- "dayjs": "1.11.19",
94
93
  "dotenv": "^10.0.0",
95
94
  "dotenv-expand": "^5.1.0",
96
95
  "ejs": "3.1.10",