style(settings): 移除分组标题下的说明文案,解释只留在行内提示
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m4s
No files matched your search
@@ -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,不得私自调淡
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 功能;当前为浏览器本地模式(数据存在你的浏览器),页面与数据本就只在本机,无需设置口令。' }),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |