Skip to content

Commit

Permalink
Fix badge icon from shrinking (#2134)
Browse files Browse the repository at this point in the history
Fix badge icon from shinking
  • Loading branch information
milan-deepfence authored May 2, 2024
1 parent 2cf3592 commit 8c0d5c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const PostureStatusBadgeIcon = ({
}) => {
return (
<div
className={cn('w-[18px] h-[18px]', className)}
className={cn('w-[18px] h-[18px] shrink-0', className)}
style={{ color: getPostureColor(theme)[status] }}
>
{status === 'alarm' && <SeverityCritical theme={theme} />}
Expand Down Expand Up @@ -171,7 +171,7 @@ export const SeverityBadgeIcon = ({
}) => {
return (
<div
className={cn('w-[18px] h-[18px]', className)}
className={cn('w-[18px] h-[18px] shrink-0', className)}
style={{ color: getSeverityColorMap(theme)[severity] }}
>
{severity === 'critical' && <SeverityCritical theme={theme} />}
Expand Down

0 comments on commit 8c0d5c6

Please sign in to comment.