mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-28 17:27:50 +01:00
reduce animation time
This commit is contained in:
parent
857754e6e9
commit
2f00dbf1bb
@ -11,7 +11,7 @@ const queryShown = query(':enter, :leave', [
|
|||||||
style({ position: 'fixed', width: '100%', height: '100%' })
|
style({ position: 'fixed', width: '100%', height: '100%' })
|
||||||
], { optional: true });
|
], { optional: true });
|
||||||
|
|
||||||
const speed = '0.5s';
|
const speed = '0.4s';
|
||||||
|
|
||||||
export function queryTranslate(direction: string, axis: string, from: number, to: number, zIndex: number = 1000) {
|
export function queryTranslate(direction: string, axis: string, from: number, to: number, zIndex: number = 1000) {
|
||||||
return query(':' + direction, [
|
return query(':' + direction, [
|
||||||
|
Loading…
Reference in New Issue
Block a user