Skip to content

Commit 468a3d8

Browse files
committed
RI-7246 - The "Create free Cloud db" window has different font sizes
1 parent 83f64a6 commit 468a3d8

File tree

8 files changed

+12
-19
lines changed

8 files changed

+12
-19
lines changed

redisinsight/ui/src/components/oauth/oauth-sso/oauth-autodiscovery/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
flex-direction: column;
9292
align-items: center;
9393

94-
padding: 108px 60px 60px;
94+
padding: 108px 0px 40px 40px;
9595

9696
.subTitle {
9797
font-size: 16px;

redisinsight/ui/src/components/oauth/oauth-sso/oauth-create-db/OAuthCreateDb.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const OAuthCreateDb = (props: Props) => {
127127
{(form: React.ReactNode) => (
128128
<>
129129
<Text className={styles.subTitle}>Get started with</Text>
130+
<Spacer size="s" />
130131
<Title size="XL" className={styles.title}>
131132
Free trial Cloud database
132133
</Title>
@@ -144,6 +145,7 @@ const OAuthCreateDb = (props: Props) => {
144145
) : (
145146
<>
146147
<Text className={styles.subTitle}>Get your</Text>
148+
<Spacer size="s" />
147149
<Title size="XL" className={styles.title}>
148150
Free trial Cloud database
149151
</Title>

redisinsight/ui/src/components/oauth/oauth-sso/oauth-create-db/styles.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
.advantagesContainer {
66
max-width: 320px;
7-
padding: 0 24px 24px;
7+
padding: 0;
88
}
99

1010
.socialContainer {
1111
display: flex;
1212
flex-direction: column;
1313
align-items: center;
1414

15-
padding: 108px 60px 60px;
15+
padding: 108px 0px 40px 40px;
1616

1717
.subTitle {
1818
font-size: 16px;

redisinsight/ui/src/components/oauth/oauth-sso/oauth-sign-in/styles.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
.advantagesContainer {
66
max-width: 320px;
7-
padding: 0 24px 24px;
7+
padding: 0;
88
}
99

1010
.socialContainer {
1111
display: flex;
1212
flex-direction: column;
1313
align-items: center;
1414

15-
padding: 108px 60px 60px;
15+
padding: 108px 0px 40px 40px;
1616

1717
.subTitle {
1818
font-size: 16px;

redisinsight/ui/src/components/oauth/shared/oauth-advantages/OAuthAdvantages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import styles from './styles.module.scss'
1010

1111
const OAuthAdvantages = () => (
1212
<div className={styles.container} data-testid="oauth-advantages">
13-
<RiImage className={styles.logo} src={RedisLogo} alt="Redis logo" />
13+
<RiImage className={styles.logo} src={RedisLogo} alt="Redis logo" $size="m" />
1414
<Title size="S" className={styles.title}>
1515
Cloud
1616
</Title>

redisinsight/ui/src/components/oauth/shared/oauth-agreement/OAuthAgreement.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const OAuthAgreement = (props: Props) => {
4747
<li className={styles.listItem}>
4848
{'to our '}
4949
<Link
50+
variant="small-inline"
5051
color="subdued"
5152
href="https://redis.io/legal/cloud-tos/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
5253
className={styles.link}
@@ -57,6 +58,7 @@ const OAuthAgreement = (props: Props) => {
5758
</Link>
5859
{' and '}
5960
<Link
61+
variant="small-inline"
6062
color="subdued"
6163
href="https://redis.io/legal/privacy-policy/?utm_source=redisinsight&utm_medium=main&utm_campaign=main"
6264
className={styles.link}

redisinsight/ui/src/components/oauth/shared/oauth-recommended-settings/OAuthRecommendedSettings.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { FeatureFlags } from 'uiSrc/constants'
44

55
import { Checkbox } from 'uiSrc/components/base/forms/checkbox/Checkbox'
66
import { RiIcon } from 'uiSrc/components/base/icons/RiIcon'
7+
import { Spacer } from 'uiSrc/components/base/layout'
78
import styles from './styles.module.scss'
89

910
export interface Props {
@@ -40,6 +41,7 @@ const OAuthRecommendedSettings = (props: Props) => {
4041
<RiIcon type="InfoIcon" size="s" />
4142
</RiTooltip>
4243
</div>
44+
<Spacer size="s" />
4345
</FeatureFlagComponent>
4446
)
4547
}

redisinsight/ui/src/components/oauth/shared/oauth-recommended-settings/styles.module.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22
display: flex;
33
align-items: center;
44

5-
.recommendedSettingsToolTip {
6-
display: inline-flex;
7-
margin-left: 4px;
8-
margin-bottom: 4px;
9-
10-
:global {
11-
svg {
12-
width: 14px;
13-
height: 14px;
14-
}
15-
}
16-
}
17-
185
:global(.euiCheckbox) {
196
margin-bottom: 6px;
207

0 commit comments

Comments
 (0)