diff --git a/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEdit.tsx b/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEdit.tsx index 00af55e..769c3e2 100644 --- a/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEdit.tsx +++ b/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEdit.tsx @@ -107,7 +107,7 @@ export const MultiBillEdit: FC = ({ locations, year, month }
{locations.map(location => ( -
+

{formatYearMonth(yearMonth)} {location.name} diff --git a/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEditButton.tsx b/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEditButton.tsx index de8f248..a0de2c8 100644 --- a/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEditButton.tsx +++ b/app/[locale]/home/multi-bill-edit/[year]/[month]/MultiBillEditButton.tsx @@ -7,18 +7,19 @@ import Link from 'next/link'; export interface MultiBillEditButtonProps { yearMonth: YearMonth; + className?: string; } -export const MultiBillEditButton: React.FC = ({ yearMonth }) => { +export const MultiBillEditButton: React.FC = ({ yearMonth, className }) => { const t = useTranslations("home-page.multi-bill-edit-button"); return ( -
+
- {t("tooltip")} + {t("tooltip")}
diff --git a/app/ui/AddLocationButton.tsx b/app/ui/AddLocationButton.tsx index fd7a1a6..2952693 100644 --- a/app/ui/AddLocationButton.tsx +++ b/app/ui/AddLocationButton.tsx @@ -8,20 +8,21 @@ import { useTranslations } from 'next-intl'; export interface AddLocationButtonProps { /** year and month at which the new billing location should be addes */ - yearMonth: YearMonth + yearMonth: YearMonth; + className?: string; } -export const AddLocationButton:React.FC = ({yearMonth}) => { +export const AddLocationButton:React.FC = ({yearMonth, className}) => { const t = useTranslations("home-page.add-location-button"); return( -
+
- - - {t("tooltip")} + + + {t("tooltip")}
diff --git a/app/ui/BillEditForm.tsx b/app/ui/BillEditForm.tsx index 3ef6355..3657ae8 100644 --- a/app/ui/BillEditForm.tsx +++ b/app/ui/BillEditForm.tsx @@ -147,7 +147,7 @@ export const BillEditForm: FC = ({ location, bill }) => { : null }
- +
{ isScanningPDF && diff --git a/app/ui/InfoBox.tsx b/app/ui/InfoBox.tsx index 5898093..6dc95f7 100644 --- a/app/ui/InfoBox.tsx +++ b/app/ui/InfoBox.tsx @@ -11,7 +11,7 @@ export const InfoBox: FC<{ const t = useTranslations("info-box"); return ( -
+
{title ?? t("default-title")} diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx index 0adf88d..f175f20 100644 --- a/app/ui/LocationCard.tsx +++ b/app/ui/LocationCard.tsx @@ -48,7 +48,7 @@ export const LocationCard: FC = ({ location, currency }) => { } return ( -
+
diff --git a/app/ui/MonthLocationList.tsx b/app/ui/MonthLocationList.tsx index 10ff494..86bce23 100644 --- a/app/ui/MonthLocationList.tsx +++ b/app/ui/MonthLocationList.tsx @@ -132,10 +132,10 @@ export const MonthLocationList:React.FC = ({ locations.map((location, ix) => ) : null } -
- - - +
+ + +
) diff --git a/app/ui/PrintButton.tsx b/app/ui/PrintButton.tsx index 5ea4b2d..06a1a56 100644 --- a/app/ui/PrintButton.tsx +++ b/app/ui/PrintButton.tsx @@ -6,9 +6,10 @@ import { YearMonth } from '../lib/db-types'; export interface PrintButtonProps { yearMonth: YearMonth; + className?: string; } -export const PrintButton: React.FC = ({ yearMonth }) => { +export const PrintButton: React.FC = ({ yearMonth, className }) => { const t = useTranslations("home-page.month-card"); const handlePrintClick = () => { @@ -16,7 +17,7 @@ export const PrintButton: React.FC = ({ yearMonth }) => { }; return ( -
+