Skip to content

Commit

Permalink
Merge pull request #8416 from RocketChat/account-menu-rtl
Browse files Browse the repository at this point in the history
Fix: Account menu position on RTL
  • Loading branch information
rodrigok committed Oct 9, 2017
1 parent 4055689 commit 061ecaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-ui-sidenav/client/accountBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Template.accountBox.events({
customCSSProperties: {
width: `${ accountBox.offsetWidth - parseInt(getComputedStyle(accountBox)['padding-left'].replace('px', '')) * 2 }px`,
left: isRtl() ? 'auto' : getComputedStyle(accountBox)['padding-left'],
right: isRtl() ? getComputedStyle(accountBox)['padding-right'] : 'auto'
right: 'auto'
}
};

Expand Down

0 comments on commit 061ecaf

Please sign in to comment.