Skip to content

Commit

Permalink
Update confirmation dialog's width and ensure close button is display…
Browse files Browse the repository at this point in the history
…ed if dialog is dismissable (and not just when 'dismissText' is provided)
  • Loading branch information
courtneymyers committed May 14, 2024
1 parent 2fbc246 commit cb9291d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client/src/components/confirmationDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export function ConfirmationDialog() {
<Dialog.Panel
className={clsx(
"tw-relative tw-transform tw-overflow-hidden tw-rounded-lg tw-bg-white tw-p-4 tw-shadow-xl tw-transition-all",
"sm:tw-w-full sm:tw-max-w-md sm:tw-p-6",
"sm:tw-w-full sm:tw-max-w-xl sm:tw-p-6",
)}
>
{dismissable && dismissText && (
{dismissable && (
<div className="twpf">
<div
className={clsx(
Expand Down

0 comments on commit cb9291d

Please sign in to comment.