release: v3.26.78 侧栏升级箭头动画 + 删除按钮留白收紧
This commit is contained in:
1 parent
4121a6de4f
commit
317f562cfd
6 files changed
+14
-6
No files matched your search
+2
-2
@@ -153,13 +153,13 @@
|
||||
item('settings', 'settings', '设置', false, onSettings),
|
||||
el('button', {
|
||||
key: 'more', type: 'button',
|
||||
className: 'iwb-nav-item iwb-nav-more-btn' + (update ? ' has-update' : '') + (moreOpen ? ' on' : ''),
|
||||
className: 'iwb-nav-item iwb-nav-more-btn' + (update ? ' has-update' : '') + (moreOpen ? ' on' : '') + (upgrading ? ' iwb-nav-more-upgrading' : ''),
|
||||
title: update ? ('发现新版本 v' + update.version + ',点击升级') : '更多',
|
||||
'aria-label': update ? '发现新版本,点击升级' : '更多',
|
||||
'aria-expanded': moreOpen ? 'true' : 'false',
|
||||
onPointerDown: (e) => e.stopPropagation(),
|
||||
onClick: (e) => { e.stopPropagation(); toggleMore(e) },
|
||||
}, update ? el(UpgradeIcon, null) : I('more')),
|
||||
}, update ? el(UpgradeIcon, { spinning: upgrading }) : I('more')),
|
||||
),
|
||||
),
|
||||
menu,
|
||||
|
||||
Reference in new issue
Block a user