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

Этот коммит содержится в:
hmhealey
2015-10-05 13:16:39 -04:00
родитель a11421c74b
Коммит ae0eb91180

Просмотреть файл

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