Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

fix padding

Bill Yanga79dc3c32d6b
diff --git a/client/src/app/components/sections/Browsers/Browsers.tsx b/client/src/app/components/sections/Browsers/Browsers.tsx
index 21f046544..7c7d8f682 100644
--- a/client/src/app/components/sections/Browsers/Browsers.tsx
+++ b/client/src/app/components/sections/Browsers/Browsers.tsx
@@ -16,7 +16,7 @@ export function Browsers() {
<CardHeader>
<CardTitle>Browsers</CardTitle>
</CardHeader>
- <CardContent className="pt-4 sm:px-6 sm:pt-6 flex flex-col gap-2">
+ <CardContent className="flex flex-col gap-2">
{data?.data?.slice(0, 10).map((e) => (
<div key={e.browser} className="relative">
<div
diff --git a/client/src/app/components/sections/Devices/Devices.tsx b/client/src/app/components/sections/Devices/Devices.tsx
index 2ec00615a..a80612dee 100644
--- a/client/src/app/components/sections/Devices/Devices.tsx
+++ b/client/src/app/components/sections/Devices/Devices.tsx
@@ -16,7 +16,7 @@ export function Devices() {
<CardHeader>
<CardTitle>Devices</CardTitle>
</CardHeader>
- <CardContent className="pt-4 sm:px-6 sm:pt-6 flex flex-col gap-2">
+ <CardContent className="flex flex-col gap-2">
{data?.data?.slice(0, 10).map((e) => (
<div key={e.device_type} className="relative">
<div
diff --git a/client/src/app/components/sections/OperatingSystems/OperatingSystems.tsx b/client/src/app/components/sections/OperatingSystems/OperatingSystems.tsx
index 5c3f7beae..127d58e40 100644
--- a/client/src/app/components/sections/OperatingSystems/OperatingSystems.tsx
+++ b/client/src/app/components/sections/OperatingSystems/OperatingSystems.tsx
@@ -16,7 +16,7 @@ export function OperatingSystems() {
<CardHeader>
<CardTitle>Operating Systems</CardTitle>
</CardHeader>
- <CardContent className="pt-4 sm:px-6 sm:pt-6 flex flex-col gap-2">
+ <CardContent className="flex flex-col gap-2">
{data?.data?.map((e) => (
<div key={e.operating_system} className="relative">
<div
diff --git a/client/src/app/components/sections/Pages/Pages.tsx b/client/src/app/components/sections/Pages/Pages.tsx
index 0cfcde525..f8acf7304 100644
--- a/client/src/app/components/sections/Pages/Pages.tsx
+++ b/client/src/app/components/sections/Pages/Pages.tsx
@@ -16,7 +16,7 @@ export function Pages() {
<CardHeader>
<CardTitle>Pages</CardTitle>
</CardHeader>
- <CardContent className="pt-4 sm:px-6 sm:pt-6 flex flex-col gap-2">
+ <CardContent className="flex flex-col gap-2">
{data?.data?.slice(0, 10).map((e) => (
<div key={e.pathname} className="relative">
<div
diff --git a/client/src/components/ui/card.tsx b/client/src/components/ui/card.tsx
index d0f349a72..846279894 100644
--- a/client/src/components/ui/card.tsx
+++ b/client/src/components/ui/card.tsx
@@ -9,7 +9,7 @@ const Card = React.forwardRef<
<div
ref={ref}
className={cn(
- "rounded-xl border border-neutral-200 bg-white text-neutral-950 shadow dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",
+ "rounded-xl border border-neutral-200 bg-white text-neutral-950 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",
className
)}
{...props}