fixed form with on mobile
This commit is contained in:
@@ -42,7 +42,7 @@ export const BillEditForm:FC<BillEditFormProps> = ({ locationID, bill }) => {
|
||||
}
|
||||
|
||||
return(
|
||||
<div className="card card-compact card-bordered min-w-96 bg-base-100 shadow-s">
|
||||
<div className="card card-compact card-bordered min-w-[20em] max-w-[90em] bg-base-100 shadow-s">
|
||||
<div className="card-body">
|
||||
<form action={ dispatch }>
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ export const LocationEditForm:FC<LocationEditFormProps> = ({ location, yearMonth
|
||||
|
||||
return(
|
||||
<Main>
|
||||
<div className="card card-compact card-bordered min-w-96 bg-base-100 shadow-s my-1">
|
||||
<div className="card card-compact card-bordered min-w-[20em] max-w-[90em] bg-base-100 shadow-s my-1">
|
||||
<div className="card-body">
|
||||
<form action={dispatch}>
|
||||
{
|
||||
@@ -49,7 +49,7 @@ export const LocationEditForm:FC<LocationEditFormProps> = ({ location, yearMonth
|
||||
))}
|
||||
</div>
|
||||
|
||||
<textarea id="locationNotes" name="locationNotes" className="textarea textarea-bordered my-1 w-full max-w-sm block" placeholder="Opis" defaultValue={location?.notes ?? ""}></textarea>
|
||||
<textarea id="locationNotes" name="locationNotes" className="textarea textarea-bordered my-1 w-full block" placeholder="Opis" defaultValue={location?.notes ?? ""}></textarea>
|
||||
<div id="status-error" aria-live="polite" aria-atomic="true">
|
||||
{state.errors?.locationNotes &&
|
||||
state.errors.locationNotes.map((error: string) => (
|
||||
|
||||
Reference in New Issue
Block a user