diff --git a/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.m.css b/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.m.css index e3b6d1e2e9..4582cbe5f8 100644 --- a/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.m.css +++ b/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.m.css @@ -49,6 +49,14 @@ } } +.box { + display: flex; + flex-direction: column; + flex: 1; + height: 100%; + overflow: auto; +} + .contentBox { composes: theme-background-secondary theme-border-color-background from global; position: relative; diff --git a/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.tsx b/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.tsx index 4c14025f71..b2219c0215 100644 --- a/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.tsx +++ b/webapp/packages/plugin-user-profile/src/UserProfileForm/UserForm.tsx @@ -36,29 +36,31 @@ export const UserForm = observer(function UserForm({ user, state, onClose const localProvider = user.linkedAuthProviders.includes(AUTH_PROVIDER_LOCAL_ID); return styled(styles)( - -
-
-
- +
+ +
+
+
+ +
+ + + {localProvider && } + +
+
+ {onClose && ( + + )}
- - - {localProvider && } -
-
- {onClose && ( - - )} +
+ + {localProvider && }
-
-
- - {localProvider && } -
-
, + +
, ); });