Skip to content

Commit ce99e1a

Browse files
author
lukaw3d
committed
Fix tooltip in StatusIcon
1 parent 0db9dbc commit ce99e1a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/app/components/StatusIcon/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,11 @@ export const StatusIcon: FC<StatusIconProps> = ({ success, error, withText, meth
138138
} else {
139139
return (
140140
<Tooltip title={errorMessage ? `${statusLabel[status]}: ${errorMessage}` : statusLabel[status]}>
141-
<StatusBadge status={status} withText={withText}>
142-
{statusIcon(status, iconSize, withText)}
143-
</StatusBadge>
141+
<div>
142+
<StatusBadge status={status} withText={withText}>
143+
{statusIcon(status, iconSize, withText)}
144+
</StatusBadge>
145+
</div>
144146
</Tooltip>
145147
)
146148
}

0 commit comments

Comments
 (0)