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(styling): "no data" caption not considered in height calculations

Alexander Kleinc5e03cd5d4e6
diff --git a/components/common/NoData.module.css b/components/common/NoData.module.css
index 82f9c3ee5..518fa488e 100644
--- a/components/common/NoData.module.css
+++ b/components/common/NoData.module.css
@@ -1,8 +1,11 @@
.container {
color: var(--gray500);
font-size: var(--font-size-normal);
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ text-align: center;
+ width: 100%;
+ height: 100%;
}