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.

Updated menu style.

Mike Cao264c6954e98c
diff --git a/src/components/layout/SideNav.module.css b/src/components/layout/SideNav.module.css
index 5dbe4105b..be80506ab 100644
--- a/src/components/layout/SideNav.module.css
+++ b/src/components/layout/SideNav.module.css
@@ -1,6 +1,7 @@
.menu {
display: flex;
flex-direction: column;
+ gap: 2px;
}
.item a {
@@ -16,4 +17,5 @@
.selected {
font-weight: 700;
+ background: var(--base75);
}
diff --git a/src/tracker/index.d.ts b/src/tracker/index.d.ts
index f9bd4b246..05497da20 100644
--- a/src/tracker/index.d.ts
+++ b/src/tracker/index.d.ts
@@ -138,7 +138,7 @@ export type UmamiTracker = {
/**
* Tracks an event with fully customizable dynamic data
- * Ilf you don't specify any `name` and/or `data`, it will be treated as a page view
+ * If you don't specify any `name` and/or `data`, it will be treated as a page view
*
* @example ```
* umami.track((props) => ({ ...props, url: path }));