Added width style to the action button (#100768)

* Added width style to the action button

* Fix typo
This commit is contained in:
Staton Hysell 2025-02-14 18:09:18 -05:00 committed by GitHub
parent 9494e6eb37
commit 89e85c1592
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,13 @@ export function ActionButton({ action, ...buttonProps }: ActionButtonProps) {
return (
<>
<Button variant="primary" size="sm" onClick={() => setShowConfirm(true)} {...buttonProps}>
<Button
variant="primary"
size="sm"
onClick={() => setShowConfirm(true)}
{...buttonProps}
style={{ width: 'fit-content' }}
>
{action.title}
</Button>
{showConfirm && (