@seafile/sdoc-editor 3.0.99 → 3.0.100

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.
@@ -297,6 +297,10 @@
297
297
  flex-shrink: 0;
298
298
  }
299
299
 
300
+ .sdoc-code-block-pre.hidden {
301
+ padding-bottom: 48px !important;
302
+ }
303
+
300
304
  .sdoc-code-block-pre .sdoc-code-no-wrap {
301
305
  white-space: nowrap;
302
306
  }
@@ -173,7 +173,9 @@ var CodeBlock = function CodeBlock(_ref) {
173
173
  }, /*#__PURE__*/_react["default"].createElement("code", {
174
174
  ref: codeContentRef,
175
175
  className: "sdoc-code-block-code ".concat(white_space === 'nowrap' ? 'sdoc-code-no-wrap' : '', " ").concat(!showAllCode ? 'hide-code' : '')
176
- }, children)), isCodeBlockOverflow && /*#__PURE__*/_react["default"].createElement("span", {
176
+ }, children), !showAllCode && /*#__PURE__*/_react["default"].createElement("div", {
177
+ className: "sdoc-code-block-per-padding"
178
+ })), isCodeBlockOverflow && /*#__PURE__*/_react["default"].createElement("span", {
177
179
  className: "sdoc-code-block-hidden-icon",
178
180
  onClick: toggleHidden,
179
181
  contentEditable: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "3.0.99",
3
+ "version": "3.0.100",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "ac123c0d9b4882e033c3dfc53a78d682ea511c65"
75
+ "gitHead": "ec117df28e801deb10aca55c08c76cb3f310dc9d"
76
76
  }