Added a gap between label and inputs #1270
This commit is contained in:
1 parent
4c051ff0ac
commit
ecd1282c4d
3 files changed
+17
-7
No files matched your search
@@ -30,6 +30,9 @@ const TeamPanel = () => {
|
||||
|
||||
const theme = useTheme();
|
||||
|
||||
// Define the constant for consistent gap
|
||||
const SPACING_GAP = theme.spacing(12);
|
||||
|
||||
const { authToken, user } = useSelector((state) => state.auth);
|
||||
//TODO
|
||||
// const [orgStates, setOrgStates] = useState({
|
||||
@@ -228,7 +231,7 @@ const TeamPanel = () => {
|
||||
{/* <Stack component="form">
|
||||
<Box sx={{ alignSelf: "flex-start" }}>
|
||||
<Typography component="h1">Organization name</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
<Stack
|
||||
direction="row"
|
||||
justifyContent="flex-end"
|
||||
@@ -275,7 +278,7 @@ const TeamPanel = () => {
|
||||
component="form"
|
||||
noValidate
|
||||
spellCheck="false"
|
||||
gap={theme.spacing(12)}
|
||||
gap={SPACING_GAP} // Added a constant Spacing gap
|
||||
>
|
||||
<Typography component="h1">Team members</Typography>
|
||||
<Stack
|
||||
@@ -339,7 +342,7 @@ const TeamPanel = () => {
|
||||
theme={theme}
|
||||
>
|
||||
<TextInput
|
||||
marginBottom={theme.spacing(12)}
|
||||
marginBottom={SPACING_GAP} // Applied SPACING_GAP for consistent spacing
|
||||
type="email"
|
||||
id="input-team-member"
|
||||
placeholder="Email"
|
||||
|
||||
Reference in new issue
Block a user