From 2470f1f822d1516f797e255fe9ae120a97b0bfb8 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Mon, 16 Jun 2025 16:11:13 -0400 Subject: [PATCH] Better responsive layout (#102) --- src/app/(authenticated)/layout.tsx | 4 +++- src/app/(authenticated)/usage/Usage.tsx | 2 +- src/components/layout/Section.tsx | 2 +- src/components/usage/UsageCard.tsx | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/app/(authenticated)/layout.tsx b/src/app/(authenticated)/layout.tsx index ac9062ce43..26a074e1c5 100644 --- a/src/app/(authenticated)/layout.tsx +++ b/src/app/(authenticated)/layout.tsx @@ -39,7 +39,9 @@ export default async function AuthenticatedLayout({ userRole={orgRole === 'org:admin' ? 'admin' : 'member'} />
-
{children}
+
+ {children} +
); diff --git a/src/app/(authenticated)/usage/Usage.tsx b/src/app/(authenticated)/usage/Usage.tsx index 16d61aea5e..e75506912c 100644 --- a/src/app/(authenticated)/usage/Usage.tsx +++ b/src/app/(authenticated)/usage/Usage.tsx @@ -42,7 +42,7 @@ export const Usage = ({ userRole = 'admin', currentUserId }: UsageProps) => { return ( <> -
+
{!isMember && (
diff --git a/src/components/layout/Section.tsx b/src/components/layout/Section.tsx index d1ee13cb6b..3007ef1687 100644 --- a/src/components/layout/Section.tsx +++ b/src/components/layout/Section.tsx @@ -12,7 +12,7 @@ export const Section = ({
-
-
+
+
{/* Time period toggles */}
{allTimePeriods.map((periodConfig) => ( @@ -134,7 +134,7 @@ export const UsageCard = ({
{/* Compact inline metrics */} -
+
Developers: