File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
redisinsight/ui/src/components/oauth/oauth-sign-in-button Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
2+ import styled from 'styled-components'
23import { OAuthSsoHandlerDialog } from 'uiSrc/components'
34
45import RedisLogo from 'uiSrc/assets/img/logo_small.svg'
@@ -8,6 +9,11 @@ import { SecondaryButton } from 'uiSrc/components/base/forms/buttons'
89import { RiImage } from 'uiSrc/components/base/display'
910import styles from './styles.module.scss'
1011
12+ const LogoWrapper = styled . div `
13+ width: 15px;
14+ height: 15px;
15+ `
16+
1117export interface Props {
1218 source : OAuthSocialSource
1319}
@@ -29,7 +35,9 @@ const OAuthSignInButton = (props: Props) => {
2935 }
3036 data-testid = "cloud-sign-in-btn"
3137 >
32- < RiImage className = { styles . logo } src = { RedisLogo } alt = "Redis logo" />
38+ < LogoWrapper >
39+ < RiImage $size = { "fullWidth" } className = { styles . logo } src = { RedisLogo } alt = "Redis logo" />
40+ </ LogoWrapper >
3341 < span > Cloud sign in</ span >
3442 </ SecondaryButton >
3543 ) }
You can’t perform that action at this time.
0 commit comments