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.

style: add margin to "empty" placeholder message

Alexander Kleina4b1a478afc5
diff --git a/components/common/EmptyPlaceholder.js b/components/common/EmptyPlaceholder.js
index a223814da..b5394e85e 100644
--- a/components/common/EmptyPlaceholder.js
+++ b/components/common/EmptyPlaceholder.js
@@ -8,7 +8,7 @@ function EmptyPlaceholder({ msg, children }) {
return (
<div className={styles.placeholder}>
<Icon className={styles.icon} icon={<Logo />} size="xlarge" />
- <h2>{msg}</h2>
+ <h2 className={styles.msg}>{msg}</h2>
{children}
</div>
);
diff --git a/components/common/EmptyPlaceholder.module.css b/components/common/EmptyPlaceholder.module.css
index 58332566a..a9231836b 100644
--- a/components/common/EmptyPlaceholder.module.css
+++ b/components/common/EmptyPlaceholder.module.css
@@ -9,3 +9,7 @@
.icon {
margin-bottom: 30px;
}
+
+.msg {
+ margin-bottom: 15px;
+}