mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Animating command palette entering
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
d981968a60
commit
a387058fe3
2
src/renderer/components/animate/animate.scss
vendored
2
src/renderer/components/animate/animate.scss
vendored
@ -63,6 +63,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.opacity-scale {
|
&.opacity-scale {
|
||||||
@include animate-opacity-scale;
|
@include animate-opacity-scale(100ms);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,7 +73,7 @@ export class CommandContainer extends React.Component<{ clusterId?: string }> {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Dialog isOpen={!!this.commandComponent} animated={false} onClose={() => this.commandComponent = null} modal={false}>
|
<Dialog isOpen={!!this.commandComponent} animated={true} onClose={() => this.commandComponent = null} modal={false}>
|
||||||
<div id="command-container">
|
<div id="command-container">
|
||||||
{this.commandComponent}
|
{this.commandComponent}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user