Merge pull request #1934 from gnosis/feature/link-help-center

This commit is contained in:
Mati Dastugue 2021-02-23 11:21:17 -03:00 committed by GitHub
commit 9b2dd8141c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import InputAdornment from '@material-ui/core/InputAdornment' import InputAdornment from '@material-ui/core/InputAdornment'
import MenuItem from '@material-ui/core/MenuItem' import MenuItem from '@material-ui/core/MenuItem'
import { Icon, Link, Text } from '@gnosis.pm/safe-react-components'
import { makeStyles } from '@material-ui/core/styles' import { makeStyles } from '@material-ui/core/styles'
import CheckCircle from '@material-ui/icons/CheckCircle' import CheckCircle from '@material-ui/icons/CheckCircle'
import * as React from 'react' import * as React from 'react'
@ -159,6 +160,18 @@ const SafeOwnersForm = (props): React.ReactElement => {
Add additional owners (e.g. wallets of your teammates) and specify how many of them have to confirm a Add additional owners (e.g. wallets of your teammates) and specify how many of them have to confirm a
transaction before it gets executed. You can also add/remove owners and change the signature threshold after transaction before it gets executed. You can also add/remove owners and change the signature threshold after
your Safe is created. your Safe is created.
<Link
href="https://help.gnosis-safe.io/en/articles/4772567-what-gnosis-safe-setup-should-i-use"
target="_blank"
className={classes.link}
rel="noreferrer"
title="Learn about which Safe setup to use"
>
<Text size="lg" as="span" color="primary">
Learn about which Safe setup to use
</Text>
<Icon size="sm" type="externalLink" color="primary" />
</Link>
</Paragraph> </Paragraph>
</Block> </Block>
<Hairline /> <Hairline />

View File

@ -1,4 +1,4 @@
import { disabled, extraSmallFontSize, lg, md, screenSm, sm } from 'src/theme/variables' import { disabled, extraSmallFontSize, lg, md, screenSm, sm, xs } from 'src/theme/variables'
import { createStyles } from '@material-ui/core' import { createStyles } from '@material-ui/core'
export const styles = createStyles({ export const styles = createStyles({
@ -8,6 +8,16 @@ export const styles = createStyles({
title: { title: {
padding: `${md} ${lg}`, padding: `${md} ${lg}`,
}, },
link: {
paddingLeft: `${xs}`,
'& svg': {
position: 'relative',
top: '1px',
left: `${xs}`,
height: '14px',
width: '14px',
},
},
owner: { owner: {
flexDirection: 'column', flexDirection: 'column',
marginTop: '12px', marginTop: '12px',