Added a gap between label and inputs #1270

This commit is contained in:
Shaikh Mohd Mudassir Hussain committed 2024-12-04 15:27:02 -07:00
1 parent 4c051ff0ac
commit ecd1282c4d
3 files changed
+17 -7

No files matched your search

@@ -29,6 +29,9 @@ import Dialog from "../../Dialog";
const ProfilePanel = () => {
const theme = useTheme();
const dispatch = useDispatch();
// Define the constant for consistent gap
const SPACING_GAP = theme.spacing(12);
//redux state
const { user, authToken, isLoading } = useSelector((state) => state.auth);
@@ -223,7 +226,7 @@ const ProfilePanel = () => {
className="edit-profile-form"
noValidate
spellCheck="false"
gap={theme.spacing(20)}
gap={SPACING_GAP} // Applied SPACING_GAP for consistent spacing
>
<Stack direction="row">
<Box flex={0.9}>