diff --git a/browser_tests/tests/propertiesPanel/propertiesPanel.spec.ts b/browser_tests/tests/propertiesPanel/propertiesPanel.spec.ts index 9ff32c8a4..ff452b54a 100644 --- a/browser_tests/tests/propertiesPanel/propertiesPanel.spec.ts +++ b/browser_tests/tests/propertiesPanel/propertiesPanel.spec.ts @@ -8,13 +8,11 @@ test.describe('Properties panel', () => { const { propertiesPanel } = comfyPage.menu - await expect(propertiesPanel.panelTitle).toContainText( - 'No node(s) selected' - ) + await expect(propertiesPanel.panelTitle).toContainText('Workflow Overview') await comfyPage.selectNodes(['KSampler', 'CLIP Text Encode (Prompt)']) - await expect(propertiesPanel.panelTitle).toContainText('3 nodes selected') + await expect(propertiesPanel.panelTitle).toContainText('3 items selected') await expect(propertiesPanel.root.getByText('KSampler')).toHaveCount(1) await expect( propertiesPanel.root.getByText('CLIP Text Encode (Prompt)') diff --git a/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-node-chromium-linux.png b/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-node-chromium-linux.png index 07ff7a096..885e46356 100644 Binary files a/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-node-chromium-linux.png and b/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-node-chromium-linux.png differ diff --git a/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-pinned-node-chromium-linux.png b/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-pinned-node-chromium-linux.png index 7ecb4123e..39e3ade03 100644 Binary files a/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-pinned-node-chromium-linux.png and b/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-pinned-node-chromium-linux.png differ diff --git a/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-unpinned-node-chromium-linux.png b/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-unpinned-node-chromium-linux.png index 07ff7a096..885e46356 100644 Binary files a/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-unpinned-node-chromium-linux.png and b/browser_tests/tests/rightClickMenu.spec.ts-snapshots/right-click-unpinned-node-chromium-linux.png differ diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 627b129e4..301161e5d 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -1 +1,21 @@ -@import '@comfyorg/design-system/css/style.css'; \ No newline at end of file +@import '@comfyorg/design-system/css/style.css'; + +@media (prefers-reduced-motion: no-preference) { + /* List transition animations */ + .list-scale-move, + .list-scale-enter-active, + .list-scale-leave-active { + transition: opacity 150ms ease, transform 150ms ease; + } + + .list-scale-enter-from, + .list-scale-leave-to { + opacity: 0; + transform: scale(70%); + } + + .list-scale-leave-active { + position: absolute; + width: 100%; + } +} diff --git a/src/components/button/MoreButton.vue b/src/components/button/MoreButton.vue index d192efb90..0ffea76ce 100644 --- a/src/components/button/MoreButton.vue +++ b/src/components/button/MoreButton.vue @@ -1,6 +1,11 @@