Skip to content

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

Update SessionCardSkeleton component for improved skeleton height

Bill Yang19cd1f7dbd47
diff --git a/client/src/components/Sessions/SessionCard.tsx b/client/src/components/Sessions/SessionCard.tsx
index ab4ac5601..4569ced9f 100644
--- a/client/src/components/Sessions/SessionCard.tsx
+++ b/client/src/components/Sessions/SessionCard.tsx
@@ -295,9 +295,9 @@ export const SessionCardSkeleton = memo(() => {
<Skeleton className="h-4 w-4 rounded-sm flex-shrink-0" />
<Skeleton className="h-4 w-4 rounded-sm" />
{/* Badge skeleton for pageviews */}
- <Skeleton className="h-4 w-8 rounded-sm" />
+ <Skeleton className="h-[21px] w-8 rounded-sm" />
{/* Badge skeleton for events */}
- <Skeleton className="h-4 w-8 rounded-sm" />
+ <Skeleton className="h-[21px] w-8 rounded-sm" />
</div>
{/* Entry/Exit paths with randomized widths */}