Skip to content

Commit

Permalink
fix dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFlashAccount committed May 22, 2024
1 parent ba0620e commit dc943ff
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,16 @@ export function Dialog(props: types.DialogProps) {
{shouldRenderTitle && (
<aria.Header className={dialogSlots.header()}>
<ariaComponents.CloseButton
className={clsx('mr-auto mt-0.5', { hidden: hideCloseButton })}
className={clsx('col-start-1 col-end-1 mr-auto mt-0.5', {
hidden: hideCloseButton,
})}
onPress={opts.close}
/>

<aria.Heading
slot="title"
level={2}
className="my-0 text-base font-semibold leading-6"
className="col-start-2 col-end-2 my-0 text-base font-semibold leading-6"
>
{title}
</aria.Heading>
Expand Down

0 comments on commit dc943ff

Please sign in to comment.