fixed card width on cellphone
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user