Skip to content

Commit

Permalink
Improve textfield labels according to design (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt authored Oct 17, 2024
2 parents 163c3e6 + 8ae16b6 commit bb587f6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/client/src/AppTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,11 @@ export const theme = createTheme({
defaultProps: {
size: "small",
variant: "outlined",
notched: false,
},
styleOverrides: {
root: {
marginTop: themeSpacing(2),
borderRadius: themeSpacing(0.5),
flex: "1",

Expand All @@ -430,10 +432,20 @@ export const theme = createTheme({
defaultProps: {
shrink: true,
},
styleOverrides: {
root: {
color: themePalette.neutral.contrastText,
fontWeight: 500,
fontSize: "17px !important",
lineHeight: "20px",
top: "-10px",
left: "-1px",
},
},
},
MuiOutlinedInput: {
defaultProps: {
notched: true,
notched: false,
},
},
MuiCardHeader: {
Expand Down

0 comments on commit bb587f6

Please sign in to comment.