diff --git a/packages/rocketchat-theme/client/imports/components/contextual-bar.css b/packages/rocketchat-theme/client/imports/components/contextual-bar.css index 5e59630b7cef..f130232f4ba6 100644 --- a/packages/rocketchat-theme/client/imports/components/contextual-bar.css +++ b/packages/rocketchat-theme/client/imports/components/contextual-bar.css @@ -28,16 +28,17 @@ } &__content { + display: flex; overflow: auto; + flex-direction: column; + + flex: 1 1 auto; + height: 100%; padding: var(--default-padding); - - & .js-back { - width: 100%; - margin-top: 2rem; - } + justify-content: space-between; & .section:not(:last-child) { margin-bottom: 2rem; diff --git a/packages/rocketchat-ui-flextab/client/tabs/userInfo.html b/packages/rocketchat-ui-flextab/client/tabs/userInfo.html index e3e28c636a19..e5a8d827b723 100644 --- a/packages/rocketchat-ui-flextab/client/tabs/userInfo.html +++ b/packages/rocketchat-ui-flextab/client/tabs/userInfo.html @@ -18,95 +18,97 @@

{{_ "User_Info"}}

{{> userEdit (userToEdit)}} {{else}} {{#with user}} -
-
- - - {{#if username}}{{/if}} - +
+ - + -