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 1
1
import React from 'react'
2
+ import styled from 'styled-components'
2
3
import { OAuthSsoHandlerDialog } from 'uiSrc/components'
3
4
4
5
import RedisLogo from 'uiSrc/assets/img/logo_small.svg'
@@ -8,6 +9,11 @@ import { SecondaryButton } from 'uiSrc/components/base/forms/buttons'
8
9
import { RiImage } from 'uiSrc/components/base/display'
9
10
import styles from './styles.module.scss'
10
11
12
+ const LogoWrapper = styled . div `
13
+ width: 15px;
14
+ height: 15px;
15
+ `
16
+
11
17
export interface Props {
12
18
source : OAuthSocialSource
13
19
}
@@ -29,7 +35,9 @@ const OAuthSignInButton = (props: Props) => {
29
35
}
30
36
data-testid = "cloud-sign-in-btn"
31
37
>
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 >
33
41
< span > Cloud sign in</ span >
34
42
</ SecondaryButton >
35
43
) }
You can’t perform that action at this time.
0 commit comments