mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-03-22 03:08:23 +00:00
style(ui): adjust provider icons in ImpactedProvidersCell
- Set icon size to 28x28 - Remove background and rounded styles from icon containers Ref: PROWLER-881
This commit is contained in:
@@ -8,7 +8,7 @@ import { ProviderType } from "@/types";
|
||||
import { PROVIDER_ICONS } from "./provider-icon-cell";
|
||||
|
||||
const MAX_VISIBLE_PROVIDERS = 3;
|
||||
const ICON_SIZE = 20;
|
||||
const ICON_SIZE = 28;
|
||||
|
||||
interface ImpactedProvidersCellProps {
|
||||
providers: ProviderType[];
|
||||
@@ -33,7 +33,7 @@ export const ImpactedProvidersCell = ({
|
||||
return (
|
||||
<div
|
||||
key={provider}
|
||||
className="flex size-7 items-center justify-center rounded-md bg-white"
|
||||
className="flex size-7 items-center justify-center"
|
||||
>
|
||||
<span className="text-text-neutral-secondary text-xs">?</span>
|
||||
</div>
|
||||
@@ -43,7 +43,7 @@ export const ImpactedProvidersCell = ({
|
||||
return (
|
||||
<div
|
||||
key={provider}
|
||||
className="flex size-7 items-center justify-center overflow-hidden rounded-md bg-white"
|
||||
className="flex size-7 items-center justify-center overflow-hidden"
|
||||
>
|
||||
<IconComponent width={ICON_SIZE} height={ICON_SIZE} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user