Skip to content

Commit

Permalink
Don't animate tree find widget in reduced motion mode (#175987)
Browse files Browse the repository at this point in the history
Don't animate tree find widget in reduced motion

Fixes #175983
  • Loading branch information
mjbvz committed Mar 7, 2023
1 parent 41e0b50 commit 53283c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vs/base/browser/ui/tree/media/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,16 @@
top: 0;
display: flex;
padding: 3px;
transition: top 0.3s;
max-width: 200px;
z-index: 100;
margin: 0 6px;
border: 1px solid var(--vscode-widget-border);
}

.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter {
transition: top 0.3s;
}

.monaco-tree-type-filter.disabled {
top: -40px !important;
}
Expand Down

0 comments on commit 53283c6

Please sign in to comment.