Hid the close button when the unread badge is visible and moved it to the right side of the sidebar

This commit is contained in:
hmhealey
2015-10-05 13:16:39 -04:00
parent a11421c74b
commit ae0eb91180

View File

@@ -452,10 +452,10 @@ export default class Sidebar extends React.Component {
}
let closeButton = null;
if (handleClose) {
if (handleClose && !badge) {
closeButton = (
<span
className='sidebar-channel__close'
className='sidebar-channel__close pull-right'
data-close='true'
>
{'×'}