mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added width style to the action button (#100768)
* Added width style to the action button * Fix typo
This commit is contained in:
parent
9494e6eb37
commit
89e85c1592
@ -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 && (
|
||||
|
Loading…
Reference in New Issue
Block a user