Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react'
import styled from 'styled-components'
import { OAuthSsoHandlerDialog } from 'uiSrc/components'

import RedisLogo from 'uiSrc/assets/img/logo_small.svg'
Expand All @@ -8,6 +9,11 @@ import { SecondaryButton } from 'uiSrc/components/base/forms/buttons'
import { RiImage } from 'uiSrc/components/base/display'
import styles from './styles.module.scss'

const LogoWrapper = styled.div`
width: 15px;
height: 15px;
`

export interface Props {
source: OAuthSocialSource
}
Expand All @@ -29,7 +35,9 @@ const OAuthSignInButton = (props: Props) => {
}
data-testid="cloud-sign-in-btn"
>
<RiImage className={styles.logo} src={RedisLogo} alt="Redis logo" />
<LogoWrapper>
<RiImage $size={"fullWidth"} className={styles.logo} src={RedisLogo} alt="Redis logo" />
</LogoWrapper>
<span>Cloud sign in</span>
</SecondaryButton>
)}
Expand Down
Loading