From d6f9b512052fefc1b4ee2a2e0592cf207ef12c93 Mon Sep 17 00:00:00 2001 From: 230417 <230417@epvc.pt> Date: Tue, 28 Apr 2026 15:41:07 +0100 Subject: [PATCH] feat: implement mobile-responsive layout adjustments and horizontal scrollable containers across components --- web/src/components/ServiceList.tsx | 15 ++++++++------- web/src/components/layout/Shell.tsx | 2 +- web/src/components/ui/tabs.tsx | 6 +++--- web/src/index.css | 8 ++++++++ web/src/pages/Dashboard.tsx | 8 ++++---- 5 files changed, 24 insertions(+), 15 deletions(-) diff --git a/web/src/components/ServiceList.tsx b/web/src/components/ServiceList.tsx index 442c8f9..a66a346 100644 --- a/web/src/components/ServiceList.tsx +++ b/web/src/components/ServiceList.tsx @@ -13,10 +13,10 @@ export const ServiceList = ({ }) => (
{services.map((s) => ( - -
+ +
-

{s.name}

+

{s.name}

@@ -24,17 +24,17 @@ export const ServiceList = ({
-
+
{currency(s.price)}
{onSelect && ( -
-

Lugar disponível hoje

+
+

Lugar disponível hoje

@@ -44,3 +44,4 @@ export const ServiceList = ({ ))}
); + diff --git a/web/src/components/layout/Shell.tsx b/web/src/components/layout/Shell.tsx index a2f7377..70d4d0a 100644 --- a/web/src/components/layout/Shell.tsx +++ b/web/src/components/layout/Shell.tsx @@ -5,7 +5,7 @@ export function Shell() { return ( <>
-
+
diff --git a/web/src/components/ui/tabs.tsx b/web/src/components/ui/tabs.tsx index 6a6ecbe..ac781a5 100644 --- a/web/src/components/ui/tabs.tsx +++ b/web/src/components/ui/tabs.tsx @@ -3,13 +3,13 @@ import { cn } from '../../lib/cn'; type Tab = { id: string; label: string; badge?: number }; export const Tabs = ({ tabs, active, onChange, className }: { tabs: Tab[]; active: string; onChange: (id: string) => void; className?: string }) => ( -
+
{tabs.map((t) => (