refactor(forms): enhance grid layout and responsiveness across multiple components

- Updated grid classes in CreateAdmin, CreateCompany, CreateCompanyCategory, CreateCustomer, and CreateNotification components to improve responsiveness.
- Adjusted FormFooter and ListHeader components for better layout handling on different screen sizes.
This commit is contained in:
AmirReza Jamali
2026-04-15 15:25:47 +03:30
parent 42ebbf98e2
commit 2e3b721585
7 changed files with 23 additions and 15 deletions
@@ -35,7 +35,7 @@ const CreateCustomer = ({ defaultValues, editMode, id }: IProps) => {
<form className="grid grid-cols-1 gap-9" onSubmit={handleSubmit(onSubmit)}>
<ShowcaseSection
title="Create Customer"
className="grid grid-cols-2 gap-5"
className="grid grid-cols-1 gap-5 md:grid-cols-2"
>
<div className="flex flex-col gap-2">
<InputGroup
@@ -228,7 +228,9 @@ const CreateCustomer = ({ defaultValues, editMode, id }: IProps) => {
)}
</div>
<FormFooter />
<div className="md:col-span-2">
<FormFooter />
</div>
</ShowcaseSection>
</form>
);