mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-30 10:46:11 +03:00
Merge pull request #4320 from urbit/mp/landscape/sidebar-header
landscape: sidebar header item center, padded
This commit is contained in:
commit
1526912dd6
@ -58,13 +58,14 @@ export function SidebarListHeader(props: {
|
|||||||
<Box
|
<Box
|
||||||
textAlign='right'
|
textAlign='right'
|
||||||
display='flex'
|
display='flex'
|
||||||
|
alignItems='center'
|
||||||
>
|
>
|
||||||
<Link
|
<Link
|
||||||
style={{
|
style={{
|
||||||
display: isAdmin ? "inline-block" : "none" }}
|
display: isAdmin ? "inline-block" : "none" }}
|
||||||
to={
|
to={
|
||||||
!!groupPath ? `/~landscape${groupPath}/new` : `/~landscape/home/new`}>
|
!!groupPath ? `/~landscape${groupPath}/new` : `/~landscape/home/new`}>
|
||||||
<Icon icon="Plus" color="gray" pr='2'/>
|
<Icon icon="Plus" color="gray" pr='12px'/>
|
||||||
</Link>
|
</Link>
|
||||||
<Link to={`${props.baseUrl}/invites`}
|
<Link to={`${props.baseUrl}/invites`}
|
||||||
style={{ display: (props.workspace?.type === 'home') ? 'inline-block' : 'none'}}>
|
style={{ display: (props.workspace?.type === 'home') ? 'inline-block' : 'none'}}>
|
||||||
@ -72,7 +73,7 @@ export function SidebarListHeader(props: {
|
|||||||
display='inline-block'
|
display='inline-block'
|
||||||
py='1px'
|
py='1px'
|
||||||
px='3px'
|
px='3px'
|
||||||
mr='2'
|
mr='12px'
|
||||||
backgroundColor='washedBlue'
|
backgroundColor='washedBlue'
|
||||||
color='blue'
|
color='blue'
|
||||||
borderRadius='1'>
|
borderRadius='1'>
|
||||||
|
Loading…
Reference in New Issue
Block a user