summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOliver <oliver@mohlin.dev>2025-04-10 11:08:28 +0200
committerSebastian Holmin <sebastian.holmin@mullvad.net>2025-05-28 13:25:30 +0200
commit956b800f9f8f0db3288f1439cd85a2002376a3dc (patch)
treec05484e67a005a644ff001e66ae735884b9e258c
parent169545fff5aaa5942e51e566068804e0808f4aab (diff)
downloadmullvadvpn-956b800f9f8f0db3288f1439cd85a2002376a3dc.tar.xz
mullvadvpn-956b800f9f8f0db3288f1439cd85a2002376a3dc.zip
Change animation property for wipe
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/lib/components/animate/animations/wipe.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/lib/components/animate/animations/wipe.ts b/desktop/packages/mullvad-vpn/src/renderer/lib/components/animate/animations/wipe.ts
index 3bd6ecc6d9..bc0fff3807 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/lib/components/animate/animations/wipe.ts
+++ b/desktop/packages/mullvad-vpn/src/renderer/lib/components/animate/animations/wipe.ts
@@ -7,11 +7,11 @@ export const wipeDownIn = createAnimation(
css`
from {
display: none;
- height: 0;
+ max-height: 0;
}
to {
display: block;
- height: min-content;
+ max-height: min-content;
}
`,
);
@@ -21,11 +21,11 @@ export const wipeVerticalOut = createAnimation(
css`
from {
display: block;
- height: min-content;
+ max-height: min-content;
}
to {
display: none;
- height: 0;
+ max-height: 0;
}
`,
);