diff options
Diffstat (limited to 'server/sonar-web/design-system/src/components')
-rw-r--r-- | server/sonar-web/design-system/src/components/buttons/ThirdPartyButton.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/server/sonar-web/design-system/src/components/buttons/ThirdPartyButton.tsx b/server/sonar-web/design-system/src/components/buttons/ThirdPartyButton.tsx index 50c83b8ff82..4f85fb6f50e 100644 --- a/server/sonar-web/design-system/src/components/buttons/ThirdPartyButton.tsx +++ b/server/sonar-web/design-system/src/components/buttons/ThirdPartyButton.tsx @@ -28,11 +28,16 @@ interface ThirdPartyProps extends Omit<ButtonProps, 'Icon'> { name: string; } -export function ThirdPartyButton({ children, iconPath, name, ...buttonProps }: ThirdPartyProps) { +export function ThirdPartyButton({ + children, + iconPath, + name, + ...buttonProps +}: Readonly<ThirdPartyProps>) { const size = 16; return ( <ThirdPartyButtonStyled {...buttonProps}> - <img alt={name} className="sw-mr-1" height={size} src={iconPath} width={size} /> + <img alt={name} className="sw-mr-2" height={size} src={iconPath} width={size} /> {children} </ThirdPartyButtonStyled> ); |