diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2024-01-05 10:54:29 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-05 20:02:36 +0000 |
commit | e0e25569b61b8f8f3c4eb2cfdfae89be7a7e86d2 (patch) | |
tree | 88ef838800877fc3a96c0136dd0fba37a588faa0 /server/sonar-web/design-system/src/components | |
parent | 4cdadd222ecfc5f09df38d468281c8e5b6ed58b0 (diff) | |
download | sonarqube-e0e25569b61b8f8f3c4eb2cfdfae89be7a7e86d2.tar.gz sonarqube-e0e25569b61b8f8f3c4eb2cfdfae89be7a7e86d2.zip |
SONAR-21396 Migrate session pages to the new UI
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> ); |