Skip to content

Commit

Permalink
fix(docs): fix dialog demo style (#3064)
Browse files Browse the repository at this point in the history
Co-authored-by: yukai <[email protected]>
  • Loading branch information
yuuk and yukai-comall authored Nov 19, 2024
1 parent 80a76d4 commit b9f41ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/src/demos/dialog.demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ export const Demo = (props: Dialog.RootProps) => {
<Dialog.Title>Dialog Title</Dialog.Title>
<Dialog.Description>Dialog Description</Dialog.Description>
</Stack>
<Stack gap="3" direction="row" width="full">
<Stack gap="3" justifyContent="flex-end" direction="row" width="full">
<Dialog.CloseTrigger asChild>
<Button variant="outline" width="full">
<Button variant="outline" width="auto">
Cancel
</Button>
</Dialog.CloseTrigger>
<Button width="full">Confirm</Button>
<Button width="auto">Confirm</Button>
</Stack>
</Stack>
<Dialog.CloseTrigger asChild position="absolute" top="2" right="2">
Expand Down

0 comments on commit b9f41ad

Please sign in to comment.