Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix maxheight on DialogButton

Francis Cao71893e4f89e0
diff --git a/src/components/input/DialogButton.tsx b/src/components/input/DialogButton.tsx
index 6038d733b..98faf9d5d 100644
--- a/src/components/input/DialogButton.tsx
+++ b/src/components/input/DialogButton.tsx
@@ -42,7 +42,7 @@ export function DialogButton({
height,
minWidth,
minHeight,
- maxHeight: 'calc(100dvh - 40px)',
+ maxHeight: 'min(80dvh, calc(100dvh - 40px))',
overflowY: 'auto',
padding: '32px',
};