fixed card width on cellphone

This commit is contained in:
2024-01-16 14:11:50 +01:00
parent 38eeb00fda
commit a078633bd5
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ export const LocationCard:FC<LocationCardProps> = ({location: { _id, name, yearM
const monthlyExpense = bills.reduce((acc, bill) => acc + (bill.payedAmount ?? 0), 0);
return(
<div className="card card-compact card-bordered min-w-96 max-w-[36em] bg-base-100 shadow-s my-1">
<div className="card card-compact card-bordered max-w-[30em] bg-base-100 shadow-s my-1">
<div className="card-body">
<Link href={`/location/${_id}/edit`} className="card-subtitle tooltip" data-tip="Edit Location">
<Cog8ToothIcon className="h-[1em] w-[1em] absolute cursor-pointer top-3 right-3 text-2xl" />