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
@@ -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' },
|
||||
|
||||
Reference in new issue
Block a user