Updated SidebarLayout compose button styles and hide if no user
• Updated: - SidebarLayout compose button styles and hide if no user
This commit is contained in:
parent
e66a9ae0a6
commit
b12e66ef88
@ -91,16 +91,21 @@ class SidebarLayout extends React.PureComponent {
|
|||||||
{children}
|
{children}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
{
|
||||||
|
!!me &&
|
||||||
<Responsive min={BREAKPOINT_SMALL}>
|
<Responsive min={BREAKPOINT_SMALL}>
|
||||||
<Button
|
<Button
|
||||||
isBlock
|
|
||||||
onClick={this.handleOpenComposeModal}
|
onClick={this.handleOpenComposeModal}
|
||||||
className={[_s.py15, _s.fs15PX, _s.fw600].join(' ')}
|
className={_s.py15}
|
||||||
>
|
icon='pencil'
|
||||||
Gab
|
iconSize='18px'
|
||||||
</Button>
|
iconClassName={[_s.py5, _s.px5].join(' ')}
|
||||||
|
/>
|
||||||
</Responsive>
|
</Responsive>
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
!!me &&
|
||||||
<Responsive max={BREAKPOINT_SMALL}>
|
<Responsive max={BREAKPOINT_SMALL}>
|
||||||
<Button
|
<Button
|
||||||
onClick={this.handleOpenComposeModal}
|
onClick={this.handleOpenComposeModal}
|
||||||
@ -108,6 +113,7 @@ class SidebarLayout extends React.PureComponent {
|
|||||||
icon='pencil'
|
icon='pencil'
|
||||||
/>
|
/>
|
||||||
</Responsive>
|
</Responsive>
|
||||||
|
}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user