diff --git a/apps/sensenet/src/context/ThemeProvider.tsx b/apps/sensenet/src/context/ThemeProvider.tsx index e9d13632c..5b004f34e 100644 --- a/apps/sensenet/src/context/ThemeProvider.tsx +++ b/apps/sensenet/src/context/ThemeProvider.tsx @@ -129,6 +129,11 @@ export const ThemeProvider: React.FunctionComponent = (props) => { '@font-face': [larsseit], }, }, + MuiInputLabel: { + root: { + fontSize: '1.3rem', + }, + }, }, }) diff --git a/packages/sn-controls-react/src/fieldcontrols/textarea.tsx b/packages/sn-controls-react/src/fieldcontrols/textarea.tsx index 59eca51b2..37fa5088b 100644 --- a/packages/sn-controls-react/src/fieldcontrols/textarea.tsx +++ b/packages/sn-controls-react/src/fieldcontrols/textarea.tsx @@ -42,6 +42,7 @@ export const Textarea: React.FC> = multiline={true} fullWidth={true} helperText={props.hideDescription ? undefined : props.settings.Description} + InputLabelProps={{ shrink: true }} /> ) case 'browse': diff --git a/packages/sn-controls-react/test/__snapshots__/textarea.test.tsx.snap b/packages/sn-controls-react/test/__snapshots__/textarea.test.tsx.snap index c4d670d82..6ebae8ac3 100644 --- a/packages/sn-controls-react/test/__snapshots__/textarea.test.tsx.snap +++ b/packages/sn-controls-react/test/__snapshots__/textarea.test.tsx.snap @@ -20,6 +20,11 @@ exports[`Textarea field control in browse view should show the displayname and f exports[`Textarea field control in edit/new view should set all the props 1`] = `