mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Right align buttons, no need for a Cancel button
This commit is contained in:
parent
00bbb993bc
commit
97418f5492
1 changed files with 4 additions and 10 deletions
|
|
@ -82,19 +82,13 @@ export function FormModal(props: FormModalProps): JSX.Element {
|
|||
</HStack>
|
||||
))}
|
||||
<HStack
|
||||
alignment={'center'}
|
||||
distribution="center"
|
||||
alignment="end"
|
||||
distribution="end"
|
||||
css={{
|
||||
padding: '20px 0 20px 0',
|
||||
width: '100%',
|
||||
padding: '32px 22px 20px 0',
|
||||
}}
|
||||
>
|
||||
<Button
|
||||
style={'ctaPill'}
|
||||
onClick={() => props.onOpenChange(false)}
|
||||
css={{ marginRight: '20px' }}
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button style={'ctaDarkYellow'}>
|
||||
{props.acceptButtonLabel || 'Submit'}
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue