mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Button alignment
This commit is contained in:
parent
431a36ff2e
commit
c07ed75d1f
1 changed files with 5 additions and 5 deletions
|
|
@ -24,17 +24,17 @@ export function LibraryHeadline(props: LibraryHeadlineProps): JSX.Element {
|
|||
}, [props.layoutCoordinator.layout])
|
||||
|
||||
return (
|
||||
<HStack alignment="center" distribution="start" css={{ pt: '4px', pb: '8px', width: '100%', pr: '15px' }}>
|
||||
<HStack alignment="center" distribution="start" css={{ pt: '8px', pb: '14px', width: '100%', pr: '15px' }}>
|
||||
<StyledText style="libraryHeader">Home</StyledText>
|
||||
<HStack alignment="center" distribution="start" css={{ marginLeft: 'auto', gap: '16px' }}>
|
||||
<Button style="ctaDarkYellow" css={{ px: '13px', display: 'flex', alignItems: 'center' }}>
|
||||
<HStack alignment="center" distribution="start" css={{ marginLeft: 'auto', gap: '8px' }}>
|
||||
<Button style="ctaDarkYellow" css={{ py: '10px', px: '14px', mr: '16px', display: 'flex', alignItems: 'center' }}>
|
||||
<Plus size={16} weight='bold' />
|
||||
<SpanBox css={{ pl: '10px', fontWeight: '600', fontSize: '16px' }}>Add Link</SpanBox>
|
||||
</Button>
|
||||
<Button style="ghost" onClick={() => props.layoutCoordinator.setLayout('LIST_LAYOUT')}>
|
||||
<Button style="ghost" onClick={() => props.layoutCoordinator.setLayout('LIST_LAYOUT')} css={{ display: 'flex', alignItems: 'center' }}>
|
||||
<LibraryListLayoutIcon color={typeColor('LIST_LAYOUT')} />
|
||||
</Button>
|
||||
<Button style="ghost" onClick={() => props.layoutCoordinator.setLayout('GRID_LAYOUT')}>
|
||||
<Button style="ghost" onClick={() => props.layoutCoordinator.setLayout('GRID_LAYOUT')} css={{ display: 'flex', alignItems: 'center' }}>
|
||||
<LibraryGridLayoutIcon color={typeColor('GRID_LAYOUT')} />
|
||||
</Button>
|
||||
</HStack>
|
||||
|
|
|
|||
Loading…
Reference in a new issue