Skip to content

Commit

Permalink
Merge pull request #7781 from RocketChat/hotfix
Browse files Browse the repository at this point in the history
[FIX] Fix flex tab not opening and getting offscreen
  • Loading branch information
rodrigok authored Aug 17, 2017
2 parents 9a9f158 + 77ea555 commit 4fd2463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/rocketchat-theme/client/imports/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -2130,6 +2130,7 @@ label.required::after {
flex: 1;
display: flex;
flex-direction: column;
max-width: 100%;

&-wrapper {
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/views/app/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Template.room.events({
return Meteor.setTimeout(() => t.sendToBottomIfNecessaryDebounced(), 100);
},

'click .messages-container'() {
'click .messages-container-main'() {
const user = Meteor.user();

if ((Template.instance().tabBar.getState() === 'opened') && user && user.settings && user.settings.preferences && user.settings.preferences.hideFlexTab) {
Expand Down

0 comments on commit 4fd2463

Please sign in to comment.