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.

replace vh with dvh

Chris Heinzeda5adfd79fe
diff --git a/src/app/(main)/layout.module.css b/src/app/(main)/layout.module.css
index 58c1cacf6..290c38a27 100644
--- a/src/app/(main)/layout.module.css
+++ b/src/app/(main)/layout.module.css
@@ -17,5 +17,6 @@
grid-row: 2 / 3;
min-height: 0;
height: calc(100vh - 60px);
+ height: calc(100dvh - 60px);
overflow-y: auto;
}
diff --git a/src/app/share/[...shareId]/SharePage.module.css b/src/app/share/[...shareId]/SharePage.module.css
index d985435c1..f6c68cf6a 100644
--- a/src/app/share/[...shareId]/SharePage.module.css
+++ b/src/app/share/[...shareId]/SharePage.module.css
@@ -1,4 +1,5 @@
.container {
flex: 1;
min-height: calc(100vh - 200px);
+ min-height: calc(100dvh - 200px);
}
diff --git a/src/components/layout/Page.module.css b/src/components/layout/Page.module.css
index 52893157c..3b9a4581b 100644
--- a/src/components/layout/Page.module.css
+++ b/src/components/layout/Page.module.css
@@ -8,4 +8,5 @@
margin: 0 auto;
padding: 0 20px;
min-height: calc(100vh - 60px);
+ min-height: calc(100dvh - 60px);
}