vanilla-jui 1.5.33 → 1.5.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-jui",
3
- "version": "1.5.33",
3
+ "version": "1.5.35",
4
4
  "private": false,
5
5
  "description": "A lightweight, reactive, and fully customizable vanilla JS UI library.",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "validator",
24
24
  "vanilla"
25
25
  ],
26
- "homepage": "https://github.com/WangShai123/vanilla-jui",
26
+ "homepage": "https://app.jealer.com/vanilla-jui",
27
27
  "bugs": {
28
28
  "url": "https://github.com/WangShai123/vanilla-jui/issues"
29
29
  },
@@ -38,7 +38,7 @@
38
38
  Typography - 段落与标题
39
39
  ============================================ */
40
40
  .j-editor > p {
41
- margin-block: var(--editor-paragraph-space);
41
+ margin-block: var(--editor-block-space);
42
42
  }
43
43
 
44
44
  .j-editor h1,
@@ -86,7 +86,7 @@
86
86
  .j-editor h4+p,
87
87
  .j-editor h5+p,
88
88
  .j-editor h6+p {
89
- margin-top: calc(var(--editor-paragraph-space) * -0.5);
89
+ margin-top: calc(var(--editor-block-space) * -0.5);
90
90
  } */
91
91
 
92
92
  /* ============================================
@@ -191,13 +191,13 @@
191
191
  ============================================ */
192
192
  .j-editor ul,
193
193
  .j-editor ol {
194
- margin: 0 0 var(--editor-paragraph-space);
194
+ margin: 0 0 var(--editor-list-space);
195
195
  padding-left: 1.75em;
196
196
  }
197
197
 
198
198
  .j-editor ul li,
199
199
  .j-editor ol li {
200
- margin-bottom: var(--editor-list-space);
200
+ margin-bottom: var(--editor-space);
201
201
  padding-left: 0.25em;
202
202
  }
203
203
 
@@ -218,7 +218,7 @@
218
218
  .j-editor ol ol,
219
219
  .j-editor ol ul,
220
220
  .j-editor ul ol {
221
- margin-top: var(--editor-list-space);
221
+ margin-top: var(--editor-space);
222
222
  margin-bottom: 0;
223
223
  }
224
224
 
@@ -261,7 +261,7 @@
261
261
 
262
262
  .j-editor dd {
263
263
  margin: 0 0 0.75rem;
264
- padding-left: var(--editor-paragraph-space);
264
+ padding-left: var(--editor-list-space);
265
265
  color: var(--tone-body);
266
266
  }
267
267
 
@@ -585,11 +585,10 @@
585
585
 
586
586
  .j-editor table {
587
587
  margin-block: var(--editor-block-space);
588
- }
589
-
590
- .j-editor table th,
591
- .j-editor table td {
592
- --table-cell-padding: 0.5rem 1rem;
588
+ overflow-x: auto;
589
+ scrollbar-width: thin;
590
+ scrollbar-color: var(--ui-border) transparent;
591
+ display: block;
593
592
  }
594
593
 
595
594
  /* ============================================