mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
reduce animation time
This commit is contained in:
@@ -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, [
|
||||||
|
|||||||
Reference in New Issue
Block a user