@zero-library/common 2.3.4 → 2.3.6
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/dist/index.cjs.js +33 -27
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +35 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.esm.js +34 -28
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -169,6 +169,9 @@
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/* src/components/RenderMarkdown/markdown.less */
|
|
172
|
+
.ns-markdown {
|
|
173
|
+
max-width: 100%;
|
|
174
|
+
}
|
|
172
175
|
.ns-markdown .cube-hl {
|
|
173
176
|
background-color: var(--ant-yellow);
|
|
174
177
|
}
|
|
@@ -206,11 +209,33 @@
|
|
|
206
209
|
border-spacing: 0;
|
|
207
210
|
empty-cells: show;
|
|
208
211
|
margin: 1em 0;
|
|
209
|
-
width: 100%;
|
|
212
|
+
max-width: 100%;
|
|
210
213
|
table-layout: fixed;
|
|
211
214
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
212
215
|
border-radius: 4px;
|
|
213
|
-
|
|
216
|
+
display: inline-block;
|
|
217
|
+
overflow: auto;
|
|
218
|
+
scrollbar-width: thin;
|
|
219
|
+
scrollbar-color: transparent transparent;
|
|
220
|
+
}
|
|
221
|
+
.ns-markdown table::-webkit-scrollbar {
|
|
222
|
+
width: 8px;
|
|
223
|
+
height: 8px;
|
|
224
|
+
}
|
|
225
|
+
.ns-markdown table::-webkit-scrollbar-thumb {
|
|
226
|
+
background-color: rgba(0, 0, 0, 0);
|
|
227
|
+
border-radius: 4px;
|
|
228
|
+
transition: background-color 0.3s ease 0.3s;
|
|
229
|
+
}
|
|
230
|
+
.ns-markdown table::-webkit-scrollbar-track {
|
|
231
|
+
background: transparent;
|
|
232
|
+
}
|
|
233
|
+
.ns-markdown table:hover {
|
|
234
|
+
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
|
|
235
|
+
}
|
|
236
|
+
.ns-markdown table:hover::-webkit-scrollbar-thumb {
|
|
237
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
238
|
+
transition-delay: 0s;
|
|
214
239
|
}
|
|
215
240
|
.ns-markdown table th,
|
|
216
241
|
.ns-markdown table td {
|
|
@@ -218,6 +243,8 @@
|
|
|
218
243
|
padding: 6px 13px;
|
|
219
244
|
vertical-align: top;
|
|
220
245
|
min-width: 120px;
|
|
246
|
+
word-break: break-word;
|
|
247
|
+
white-space: nowrap;
|
|
221
248
|
}
|
|
222
249
|
.ns-markdown table th {
|
|
223
250
|
background-color: #f6f8fa;
|
|
@@ -572,7 +599,9 @@
|
|
|
572
599
|
.styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-annotation {
|
|
573
600
|
display: inline-block;
|
|
574
601
|
transition: all 0.2s ease;
|
|
575
|
-
|
|
602
|
+
text-decoration: underline;
|
|
603
|
+
text-decoration-color: #ff9500;
|
|
604
|
+
text-underline-offset: 4px;
|
|
576
605
|
}
|
|
577
606
|
.styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-annotation:hover {
|
|
578
607
|
background-color: rgba(255, 149, 0, 0.2);
|
|
@@ -583,7 +612,9 @@
|
|
|
583
612
|
.styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-collection {
|
|
584
613
|
display: inline-block;
|
|
585
614
|
transition: all 0.2s ease;
|
|
586
|
-
|
|
615
|
+
text-decoration: underline;
|
|
616
|
+
text-decoration-color: #34afbe;
|
|
617
|
+
text-underline-offset: 4px;
|
|
587
618
|
}
|
|
588
619
|
.styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-collection:hover {
|
|
589
620
|
background-color: rgba(52, 175, 190, 0.2);
|