@seafile/sdoc-editor 3.0.102 → 3.0.104
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.
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
content: '';
|
|
16
16
|
position: sticky;
|
|
17
17
|
right: -16px;
|
|
18
|
-
top:
|
|
18
|
+
top: -16px;
|
|
19
19
|
bottom: 0;
|
|
20
20
|
width: 16px;
|
|
21
21
|
background: inherit;
|
|
@@ -137,18 +137,19 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.sdoc-code-block-pre.exceeding-height .sdoc-code-block-hidden-icon-container {
|
|
140
|
-
width: 100%;
|
|
141
140
|
height: 48px;
|
|
142
141
|
position: absolute;
|
|
143
142
|
display: flex;
|
|
144
143
|
align-items: center;
|
|
145
144
|
justify-content: center;
|
|
146
|
-
bottom:
|
|
147
|
-
left:
|
|
145
|
+
bottom: 1px;
|
|
146
|
+
left: 1px;
|
|
147
|
+
right: 1px;
|
|
148
|
+
border-radius: 3px;
|
|
148
149
|
}
|
|
149
150
|
|
|
150
151
|
.sdoc-code-block-pre.exceeding-height .sdoc-code-block-hidden-icon-container.hidden {
|
|
151
|
-
background: linear-gradient(0deg, #F5F7fA
|
|
152
|
+
background: linear-gradient(0deg, #F5F7fA, rgba(245, 247, 250, 0.8));
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
.sdoc-code-block-pre.exceeding-height .sdoc-code-block-hidden-icon {
|
|
@@ -172,4 +173,5 @@
|
|
|
172
173
|
.sdoc-code-block-pre.exceeding-height .sdoc-code-block-hidden-icon .icon-container .sdocfont {
|
|
173
174
|
color: #fff;
|
|
174
175
|
font-size: 12px;
|
|
176
|
+
text-shadow: none;
|
|
175
177
|
}
|
|
@@ -187,9 +187,9 @@ var CodeBlock = function CodeBlock(_ref) {
|
|
|
187
187
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
188
188
|
className: "icon-container"
|
|
189
189
|
}, !showAllCode ? /*#__PURE__*/_react["default"].createElement("i", {
|
|
190
|
-
className: "sdocfont sdoc-arrow-down
|
|
190
|
+
className: "sdocfont sdoc-arrow-down"
|
|
191
191
|
}) : /*#__PURE__*/_react["default"].createElement("i", {
|
|
192
|
-
className: "sdocfont sdoc-arrow-up
|
|
192
|
+
className: "sdocfont sdoc-arrow-up"
|
|
193
193
|
}))))), showHoverMenu && /*#__PURE__*/_react["default"].createElement(_hoverMenu["default"], {
|
|
194
194
|
menuPosition: menuPosition,
|
|
195
195
|
onChangeLanguage: onChangeLanguage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seafile/sdoc-editor",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.104",
|
|
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": "
|
|
75
|
+
"gitHead": "a3bb80e198e175c74dca1a6347269b2852e0d7c5"
|
|
76
76
|
}
|