fix: 统一图库操作图标背景
为刷新图库和批量生图按钮补充与未选中布局按钮一致的浅色背景。
This commit is contained in:
@@ -218,8 +218,9 @@ describe('全站平面主题', () => {
|
||||
)
|
||||
expect(css).toMatch(/\.filter-result-count\s*\{[^}]*display:\s*none;/)
|
||||
expect(css).toMatch(
|
||||
/\.gallery-layout-switch \.layout-option-button:not\(\.layout-option-active\)\s*\{[^}]*background:\s*var\(--app-control-hover\);/
|
||||
/\.gallery-layout-switch \.layout-option-button:not\(\.layout-option-active\),\s*\.gallery-layout-switch \.gallery-action-button\s*\{[^}]*background:\s*var\(--app-control-hover\);/
|
||||
)
|
||||
expect(source.match(/class="icon-button gallery-action-button"/g)).toHaveLength(2)
|
||||
expect(css).toMatch(
|
||||
/\.gallery-layout-switch\s*\{[^}]*display:\s*flex;[^}]*align-items:\s*center;[^}]*gap:\s*8px;/
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user