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

View File

@@ -18,7 +18,13 @@ export function ActionButton({ action, ...buttonProps }: ActionButtonProps) {
return ( 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} {action.title}
</Button> </Button>
{showConfirm && ( {showConfirm && (