diff --git a/src-web/components/core/Dialog.tsx b/src-web/components/core/Dialog.tsx index 2ca040f3..b4df6197 100644 --- a/src-web/components/core/Dialog.tsx +++ b/src-web/components/core/Dialog.tsx @@ -74,16 +74,18 @@ export function Dialog({ )} {description &&

{description}

}
{children}
+ {/*Put close at the end so that it's the last thing to be tabbed to*/} {!hideX && ( - +
+ +
)} diff --git a/src-web/components/core/IconButton.tsx b/src-web/components/core/IconButton.tsx index bc960d32..7c5b7b2c 100644 --- a/src-web/components/core/IconButton.tsx +++ b/src-web/components/core/IconButton.tsx @@ -49,6 +49,7 @@ export const IconButton = forwardRef(function IconButt tabIndex={tabIndex ?? icon === 'empty' ? -1 : undefined} onClick={handleClick} innerClassName="flex items-center justify-center" + size={size} className={classNames( className, 'relative flex-shrink-0 text-gray-700 hover:text-gray-1000', @@ -57,7 +58,6 @@ export const IconButton = forwardRef(function IconButt size === 'sm' && 'w-8', size === 'xs' && 'w-6', )} - size={size} {...props} > {showBadge && (