fix: 补充图库未选中布局背景
为未选中的网格或瀑布流按钮增加浅灰底色,保留选中绿色状态,并补充切换状态测试。
This commit is contained in:
@@ -200,6 +200,9 @@ describe('全站平面主题', () => {
|
||||
expect(css).toMatch(
|
||||
/@container \(max-width: 460px\)\s*\{[^}]*\.form-image-filters\s*\{[^}]*grid-template-columns:\s*minmax\(0, 1fr\) 120px;[^}]*\}[^}]*\.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\);/
|
||||
)
|
||||
})
|
||||
|
||||
it('单图标按钮以当前控件高度为边长,尺寸与内容按钮互不影响', () => {
|
||||
|
||||
Reference in New Issue
Block a user