@blocklet/editor 1.6.239 → 1.6.240

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.
@@ -147,5 +147,11 @@ const EditorContent = styled.div `
147
147
  outline: 2px solid rgb(60, 132, 244);
148
148
  user-select: none;
149
149
  }
150
+
151
+ // 增大最外层 list item 的 marginLeft, https://github.com/blocklet/discuss-kit/issues/2123
152
+ > ol > li,
153
+ > ul > li {
154
+ margin-left: 32px;
155
+ }
150
156
  }
151
157
  `;
@@ -118,7 +118,7 @@ const createCustomTheme = (theme) => {
118
118
  ...theme.typography.body1,
119
119
  };
120
120
  const ol1 = css(`
121
- margin: '1.3333333em 0',
121
+ margin: '1.3333333em 0';
122
122
  `, olCommon);
123
123
  const ol2 = css(`
124
124
  list-style-type: upper-alpha;
@@ -140,10 +140,7 @@ const createCustomTheme = (theme) => {
140
140
  }
141
141
  `;
142
142
  const listItem = css(`
143
- margin-left: 34px;
144
- & & {
145
- margin-left: 24px;
146
- }
143
+ margin-left: 28px;
147
144
  margin-top: 0.5em;
148
145
  margin-bottom: 0.5em;
149
146
  padding-left: 0.25em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/editor",
3
- "version": "1.6.239",
3
+ "version": "1.6.240",
4
4
  "main": "lib/index.js",
5
5
  "scripts": {
6
6
  "dev": "npm run storybook",
@@ -40,7 +40,7 @@
40
40
  "@arcblock/ux": "^2.9.77",
41
41
  "@blocklet/embed": "^0.1.11",
42
42
  "@blocklet/pages-kit": "^0.2.302",
43
- "@blocklet/pdf": "1.6.239",
43
+ "@blocklet/pdf": "1.6.240",
44
44
  "@excalidraw/excalidraw": "^0.14.2",
45
45
  "@iconify/iconify": "^3.0.1",
46
46
  "@iconify/icons-tabler": "^1.2.95",
@@ -110,5 +110,5 @@
110
110
  "react": "*",
111
111
  "react-dom": "*"
112
112
  },
113
- "gitHead": "14c8c180f957d6b4574cefaaf60202b6afeb1a53"
113
+ "gitHead": "9b732935a76ba2ee193dbb49d0d50621ec305fc1"
114
114
  }