From 812a17d1126ea0fed7d11eb9ac6026643bb78196 Mon Sep 17 00:00:00 2001 From: Florian Sommariva Date: Mon, 22 Apr 2024 11:50:50 +0200 Subject: [PATCH] Use size-* className instead of h-* w-* --- src/app/[locale]/map/[details]/[id]/loading.tsx | 2 +- src/components/error-message.tsx | 2 +- src/components/map/geometry-tooltip.tsx | 2 +- src/components/observation-form.tsx | 4 ++-- src/components/site-header.tsx | 4 ++-- src/components/suggestion-list.tsx | 2 +- src/components/ui/accordion.tsx | 2 +- src/components/ui/navigation-menu.tsx | 4 ++-- src/components/ui/scroll-area.tsx | 2 +- src/components/ui/select.tsx | 6 +++--- src/components/ui/sheet.tsx | 2 +- src/components/ui/switch.tsx | 4 ++-- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/app/[locale]/map/[details]/[id]/loading.tsx b/src/app/[locale]/map/[details]/[id]/loading.tsx index a541974..bc1ecf8 100644 --- a/src/app/[locale]/map/[details]/[id]/loading.tsx +++ b/src/app/[locale]/map/[details]/[id]/loading.tsx @@ -6,7 +6,7 @@ export default function Loading() { const t = useTranslations(); return ( diff --git a/src/components/error-message.tsx b/src/components/error-message.tsx index 00e15fb..5ee0a04 100644 --- a/src/components/error-message.tsx +++ b/src/components/error-message.tsx @@ -13,7 +13,7 @@ export default function ErrorMessage({ return (
- + {title} {message && {message}} diff --git a/src/components/map/geometry-tooltip.tsx b/src/components/map/geometry-tooltip.tsx index b0ea4cc..3da9745 100644 --- a/src/components/map/geometry-tooltip.tsx +++ b/src/components/map/geometry-tooltip.tsx @@ -27,7 +27,7 @@ export const GeometryTooltip = ({ {properties.attachments?.[0]?.thumbnail && ( - + {t('validation.title')} {t('validation.content')} @@ -134,7 +134,7 @@ export default function ObservationForm({ jsonSchema, handleSubmit }: Props) {
{validationMessage?.error && ( - + {t('error.title')} {validationMessage.message} diff --git a/src/components/site-header.tsx b/src/components/site-header.tsx index 7605bd9..803e79a 100644 --- a/src/components/site-header.tsx +++ b/src/components/site-header.tsx @@ -27,7 +27,7 @@ export function SiteHeader({ menu }: Props) { {settings && settings.customization.header?.logo?.src ? ( )} {t('title')} diff --git a/src/components/suggestion-list.tsx b/src/components/suggestion-list.tsx index 3cf5fbe..ca7d279 100644 --- a/src/components/suggestion-list.tsx +++ b/src/components/suggestion-list.tsx @@ -44,7 +44,7 @@ export default function SuggestionList({ {item.images?.[0]?.thumbnail && ( diff --git a/src/components/ui/navigation-menu.tsx b/src/components/ui/navigation-menu.tsx index 09fd8dd..63f1be8 100644 --- a/src/components/ui/navigation-menu.tsx +++ b/src/components/ui/navigation-menu.tsx @@ -57,7 +57,7 @@ const NavigationMenuTrigger = React.forwardRef< > {children}{' '}