style(settings): 移除分组标题下的说明文案,解释只留在行内提示
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m4s

This commit is contained in:
qiqi committed 2026-11-23 22:08:47 +08:00
1 parent 39cbe79ada
commit 80366e1c70
7 files changed
+1 -3

No files matched your search

+1
View File
@@ -769,6 +769,7 @@ L3 Contract ── 组件整体换肤时才加,能不建就不建
规则:
- 组标题(15px / 600)在页面底色上,不放进浅色容器;左内边距 = `--iwb-set-group-pad-x`,与容器内文字左对齐
- **组标题下不加说明/副标题**;解释性文字只放在行内说明或「更多说明」里
- 组内容容器用 `--iwb-set-group-bg` + `--iwb-set-group-radius`,不加外边框
- 容器内行间用 `--iwb-set-divider`;首行不画线
- 说明对齐控件列(缩进 = label-w + col-gap),颜色用 hint-color,不得私自调淡
-1
View File
@@ -446,7 +446,6 @@
const Group = function (title, rows, note) {
return el('section', { className: 'iwb-gset-group' },
el('div', { className: 'iwb-gset-group-h' }, title),
note ? el('div', { className: 'iwb-gset-group-desc' }, note) : null,
el('div', { className: 'iwb-gset-group-body' }, rows))
}
const Seg = function (val, onChange, items) {
-2
View File
@@ -513,7 +513,6 @@
function GSetGroup (props) {
return el('div', { className: 'iwb-gset-group' },
el('div', { className: 'iwb-gset-group-h' }, props.title),
props.desc ? el('div', { className: 'iwb-gset-group-desc' }, props.desc) : null,
props.children ? el('div', { className: 'iwb-gset-group-body' }, props.children) : null,
)
}
@@ -716,7 +715,6 @@ function GSetGroup (props) {
),
),
),
isDesk() ? null : el(GSetGroup, { title: '访问口令', desc: '口令是服务端(Node 版 image-workbench-app)的 Basic Auth 功能;当前为浏览器本地模式(数据存在你的浏览器),页面与数据本就只在本机,无需设置口令。' }),
)
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB