style(gallery): 设定行去掉三个文字标签,只留窄下拉(title/aria-label 承载语义)v3.25.40
This commit is contained in:
1 parent
64d42d1a56
commit
8fe29f21c4
7 files changed
+12
-7
No files matched your search
@@ -14,6 +14,12 @@
|
||||
> 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。
|
||||
> 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。
|
||||
|
||||
## v3.25.40(2026-11-20)图库设定行去掉文字标签,只留三个窄下拉
|
||||
|
||||
- 去掉「插入 / 显示 / 时间」三个文字标签(按用户选择),三个下拉直接并排:`0.5K | 特大 | 全部`。
|
||||
- 含义改为 `title` + `aria-label` 承载(悬停可看说明,读屏不丢语义)。
|
||||
- 宽度不变(46–51px),260px 窄面板仍单行;不使用图标。
|
||||
|
||||
## v3.25.39(2026-11-20)图库头部重排:标题独占一行 + 操作行 + 设定行
|
||||
|
||||
- 图库头部改三行:**标题行**(图库 + 计数 + 已选数)、**操作行**(全选 / 反选 / 下载 / 插入 / 删除)、**设定行**(插入尺寸 / 显示大小 / 时间筛选),不再把按钮和下拉挤在标题同一行。
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "image-workbench-web",
|
||||
"private": true,
|
||||
"version": "3.25.39",
|
||||
"version": "3.25.40",
|
||||
"description": "Browser-based node canvas image workbench",
|
||||
"scripts": {
|
||||
"build": "node scripts/build.js && node scripts/copy-plugins.js",
|
||||
|
||||
Generated
+1
-1
@@ -1983,7 +1983,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "image-workbench"
|
||||
version = "3.25.39"
|
||||
version = "3.25.40"
|
||||
dependencies = [
|
||||
"arboard",
|
||||
"base64 0.22.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "image-workbench"
|
||||
version = "3.25.39"
|
||||
version = "3.25.40"
|
||||
description = "无限画布 · 生图工作台桌面版"
|
||||
authors = ["malongan"]
|
||||
license = ""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||
"productName": "image-workbench",
|
||||
"version": "3.25.39",
|
||||
"version": "3.25.40",
|
||||
"identifier": "com.malongan.imageworkbench",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
onClick: onClick,
|
||||
}, label)
|
||||
}
|
||||
// v3.25.40:去掉三行文字标签(省空间),含义靠 title / aria-label 承担
|
||||
const field = (label, value, onChange, pairs, title) => el('label', { className: 'iwb-gal-opt', title },
|
||||
el('span', { className: 'iwb-gal-opt-label' }, label),
|
||||
el('select', { className: 'iwb-input iwb-select-compact', value: String(value), onChange: (e) => onChange(e.target.value) }, optPairs(pairs)),
|
||||
el('select', { className: 'iwb-input iwb-select-compact', value: String(value), title, 'aria-label': label, onChange: (e) => onChange(e.target.value) }, optPairs(pairs)),
|
||||
)
|
||||
return el('div', { className: 'iwb-gal-head' },
|
||||
el('div', { className: 'iwb-gal-title' },
|
||||
|
||||
@@ -2121,7 +2121,6 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-gal-actions .iwb-btn.iwb-gal-off { opacity: .45; }
|
||||
.iwb-gal-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
|
||||
.iwb-gal-opt { display: inline-flex; align-items: center; gap: 3px; }
|
||||
.iwb-gal-opt-label { font-size: 11px; color: var(--iwb-text2); white-space: nowrap; letter-spacing: -.2px; }
|
||||
/* 三个下拉尽量窄:只留内容 + 箭头的最小宽度(0.5K / 特大 / 全部 都放得下) */
|
||||
.iwb-gal-opt select { width: auto; min-width: 46px; max-width: 60px; height: 22px; padding: 0 0 0 4px; font-size: 11px; }
|
||||
.iwb-history-grid { overscroll-behavior: contain; }
|
||||
|
||||
Reference in new issue
Block a user