Skip to content

Commit eeaec18

Browse files
committed
feat(ui): update the spacing of the advantages in the new create cloud database modal
re #RI-7415
1 parent 98737ce commit eeaec18

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { RiIcon } from 'uiSrc/components/base/icons/RiIcon'
66
import { RiImage } from 'uiSrc/components/base/display'
77
import { Spacer } from 'uiSrc/components/base/layout'
88
import { OAUTH_ADVANTAGES_ITEMS } from './constants'
9+
import { Col } from 'uiSrc/components/base/layout/flex'
910

1011
import styles from './styles.module.scss'
1112

@@ -14,7 +15,7 @@ const OAuthAdvantages = () => (
1415
<RiImage src={RedisLogo} alt="Redis logo" $size="s" />
1516
<Title size="M">Cloud</Title>
1617
<Spacer size="space600" />
17-
<div className={styles.advantages}>
18+
<Col justify="between" align="stretch" grow={false} gap="m">
1819
{OAUTH_ADVANTAGES_ITEMS.map(({ title }) => (
1920
<Text
2021
component="div"
@@ -25,7 +26,7 @@ const OAuthAdvantages = () => (
2526
<Text size="S">{title}</Text>
2627
</Text>
2728
))}
28-
</div>
29+
</Col>
2930
</div>
3031
)
3132

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
justify-content: center;
99
}
1010

11-
.advantages {
12-
align-items: stretch;
13-
justify-content: space-between;
14-
}
15-
1611
.advantage {
1712
display: flex;
1813
margin-top: 12px;

0 commit comments

Comments
 (0)