@zero-library/common 2.3.5 → 2.3.7

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.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
- overflow: hidden;
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,24 +599,30 @@
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
- border-bottom: 1px dashed #ff9500;
602
+ text-decoration: underline;
603
+ text-decoration-color: #ff9500;
604
+ text-underline-offset: 4px;
605
+ background-color: rgba(255, 149, 0, 0.2);
576
606
  }
577
607
  .styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-annotation:hover {
578
- background-color: rgba(255, 149, 0, 0.2);
608
+ background-color: rgba(255, 149, 0, 0.4);
579
609
  }
580
610
  .styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-annotation .editor-annotation--selected {
581
- background-color: rgba(255, 149, 0, 0.4);
611
+ background-color: rgba(255, 149, 0, 0.6);
582
612
  }
583
613
  .styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-collection {
584
614
  display: inline-block;
585
615
  transition: all 0.2s ease;
586
- border-bottom: 1px dashed #34afbe;
616
+ text-decoration: underline;
617
+ text-decoration-color: #34afbe;
618
+ text-underline-offset: 4px;
619
+ background-color: rgba(52, 175, 190, 0.2);
587
620
  }
588
621
  .styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-collection:hover {
589
- background-color: rgba(52, 175, 190, 0.2);
622
+ background-color: rgba(52, 175, 190, 0.4);
590
623
  }
591
624
  .styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .editor-collection .editor-collection--selected {
592
- background-color: rgba(52, 175, 190, 0.4);
625
+ background-color: rgba(52, 175, 190, 0.6);
593
626
  }
594
627
  .styles_module_editorParent .styles_module_contentWrapper .styles_module_simpleEditorContent .tiptap.ProseMirror {
595
628
  font-family: "DM Sans", sans-serif;