mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-14 21:48:39 -05:00
Merge pull request #1293 from gauravnadkarni/fix/alignment-required-for-jwt-section
fixed issue with the alignment in JWT section
This commit is contained in:
@@ -49,6 +49,7 @@ const Select = ({
|
||||
onBlur,
|
||||
sx,
|
||||
name = "",
|
||||
labelControlSpacing = 2,
|
||||
}) => {
|
||||
const theme = useTheme();
|
||||
const itemStyles = {
|
||||
@@ -57,10 +58,10 @@ const Select = ({
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
margin: theme.spacing(2),
|
||||
};
|
||||
|
||||
|
||||
return (
|
||||
<Stack
|
||||
gap={theme.spacing(2)}
|
||||
gap={theme.spacing(labelControlSpacing)}
|
||||
className="select-wrapper"
|
||||
>
|
||||
{label && (
|
||||
@@ -144,6 +145,7 @@ Select.propTypes = {
|
||||
onChange: PropTypes.func.isRequired,
|
||||
onBlur: PropTypes.func,
|
||||
sx: PropTypes.object,
|
||||
labelControlSpacing: PropTypes.number,
|
||||
};
|
||||
|
||||
export default Select;
|
||||
|
||||
@@ -270,6 +270,7 @@ const AdvancedSettings = ({ isAdmin }) => {
|
||||
onChange={handleJWTTTLUnits}
|
||||
onBlur={handleBlur}
|
||||
error={errors.jwtTTLUnits}
|
||||
labelControlSpacing={0}
|
||||
/>
|
||||
</Stack>
|
||||
<TextInput
|
||||
|
||||
Reference in New Issue
Block a user