@ysgroup/ui 0.1.52 → 0.1.53
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": "@ysgroup/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"@ysgroup/contracts": ">=0.1.50",
|
|
14
14
|
"@ysgroup/core": ">=0.1.29",
|
|
15
|
-
"@ysgroup/theme": ">=0.3.
|
|
15
|
+
"@ysgroup/theme": ">=0.3.2",
|
|
16
16
|
"element-plus": ">=2.9",
|
|
17
17
|
"vue": ">=3.5"
|
|
18
18
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@ysgroup/contracts": "^0.1.51",
|
|
29
29
|
"@ysgroup/core": "^0.1.29",
|
|
30
|
-
"@ysgroup/theme": "^0.3.
|
|
30
|
+
"@ysgroup/theme": "^0.3.2",
|
|
31
31
|
"docx-preview": "^0.4.1"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -46,10 +46,13 @@ defineProps<{
|
|
|
46
46
|
font-size: 24px;
|
|
47
47
|
font-weight: 700;
|
|
48
48
|
line-height: 1.25;
|
|
49
|
+
text-wrap: balance;
|
|
49
50
|
}
|
|
51
|
+
/* 简介占满标题区可用宽度,不设固定上限(以前 760px,稍长一点就把最后几个字挤到第二行);
|
|
52
|
+
* 窄屏真要换行时 text-wrap: pretty 避免末行只剩一两个字。简介写一句话,不写成段落。 */
|
|
50
53
|
.ys-page-header p {
|
|
51
|
-
max-width: 760px;
|
|
52
54
|
margin: 6px 0 0;
|
|
55
|
+
text-wrap: pretty;
|
|
53
56
|
color: var(--ys-color-text-3);
|
|
54
57
|
font-size: 12px;
|
|
55
58
|
line-height: 1.6;
|