Merge pull request #3246 from bluewave-labs/fix/alignment

Fix/alignment
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-02-05 10:56:59 -08:00
commit 174c3cd47a
3 files changed
+11 -2

No files matched your search

@@ -9,7 +9,9 @@ interface FieldLabelProps {
export const FieldLabel = ({ children, required = false, htmlFor }: FieldLabelProps) => { export const FieldLabel = ({ children, required = false, htmlFor }: FieldLabelProps) => {
const theme = useTheme(); const theme = useTheme();
if (children === " ") {
children = "\u00A0";
}
return ( return (
<Typography <Typography
component="label" component="label"
@@ -72,6 +72,12 @@ const SelectInputInner = <T,>(
)} )}
sx={{ sx={{
height: "34px", height: "34px",
"& .MuiSelect-select": {
display: "flex",
alignItems: "center",
height: "100%",
boxSizing: "border-box",
},
"& .MuiSelect-icon": { "& .MuiSelect-icon": {
right: theme.spacing(3), right: theme.spacing(3),
}, },
@@ -217,7 +217,7 @@ const CreateMaintenanceWindowPage = () => {
/> />
<Stack <Stack
direction="row" direction="row"
alignItems="flex-end" alignItems="flex-start"
spacing={theme.spacing(4)} spacing={theme.spacing(4)}
> >
<Controller <Controller
@@ -248,6 +248,7 @@ const CreateMaintenanceWindowPage = () => {
defaultValue={defaults.durationUnit} defaultValue={defaults.durationUnit}
render={({ field }) => ( render={({ field }) => (
<Select <Select
fieldLabel=" "
value={field.value} value={field.value}
onChange={field.onChange} onChange={field.onChange}
sx={{ minWidth: 120 }} sx={{ minWidth: 120 }}