Skip to content

Commit

Permalink
set all input label font size
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Sep 1, 2023
1 parent a35aa17 commit e4d0256
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions apps/sensenet/src/context/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ export const ThemeProvider: React.FunctionComponent = (props) => {
'@font-face': [larsseit],
},
},
MuiInputLabel: {
root: {
fontSize: '1.3rem',
},
},
},
})

Expand Down
2 changes: 1 addition & 1 deletion packages/sn-controls-react/src/fieldcontrols/textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Textarea: React.FC<ReactClientFieldSetting<LongTextFieldSetting>> =
multiline={true}
fullWidth={true}
helperText={props.hideDescription ? undefined : props.settings.Description}
InputLabelProps={{ shrink: true, style: { fontSize: '1.2rem' } }}
InputLabelProps={{ shrink: true }}
/>
)
case 'browse':
Expand Down

0 comments on commit e4d0256

Please sign in to comment.