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

@@ -21,6 +21,10 @@ const PasswordPanel = () => {
const theme = useTheme();
const dispatch = useDispatch();
// Define the constant for consistent gap
const SPACING_GAP = theme.spacing(12); // EDITED: Added a constant for gap size.
//redux state
const { authToken, isLoading } = useSelector((state) => state.auth);
@@ -127,7 +131,7 @@ const PasswordPanel = () => {
direction="row"
justifyContent={"flex-start"}
alignItems={"center"}
gap={theme.spacing(8)}
gap={SPACING_GAP} // Replaced gap with SPACING_GAP constant
flexWrap={"wrap"}
>
<Typography
@@ -152,7 +156,7 @@ const PasswordPanel = () => {
<Stack
direction="row"
alignItems={"center"}
gap={theme.spacing(8)}
gap={SPACING_GAP} //Replaced gap with SPACING_GAP constant
flexWrap={"wrap"}
>
<Typography
@@ -178,7 +182,7 @@ const PasswordPanel = () => {
<Stack
direction="row"
alignItems={"center"}
gap={theme.spacing(8)}
gap={SPACING_GAP} //Replaced gap with SPACING_GAP constant
flexWrap={"wrap"}
>
<Typography