Add and fix styles
This commit is contained in:
parent
f6b2bb098e
commit
104609b66e
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -23,8 +23,7 @@ import OpenPaper from '~/components/Stepper/OpenPaper'
|
||||||
import { getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
|
import { getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
|
||||||
import Hairline from '~/components/layout/Hairline'
|
import Hairline from '~/components/layout/Hairline'
|
||||||
import { md, lg, sm } from '~/theme/variables'
|
import { md, lg, sm } from '~/theme/variables'
|
||||||
|
import trash from '~/assets/icons/trash.svg'
|
||||||
const trash = require('../../assets/trash.svg')
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
classes: Object,
|
classes: Object,
|
||||||
|
|
|
@ -42,7 +42,7 @@ const Tokens = (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Row align="center" grow className={classes.heading}>
|
<Row align="center" grow className={classes.heading}>
|
||||||
<Paragraph className={classes.manage} noMargin>
|
<Paragraph className={classes.manage} noMargin weight="bolder">
|
||||||
Manage Tokens
|
Manage Tokens
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<IconButton onClick={onClose} disableRipple data-testid={MANAGE_TOKENS_MODAL_CLOSE_BUTTON_TEST_ID}>
|
<IconButton onClick={onClose} disableRipple data-testid={MANAGE_TOKENS_MODAL_CLOSE_BUTTON_TEST_ID}>
|
||||||
|
|
|
@ -51,7 +51,7 @@ const RemoveSafeComponent = ({
|
||||||
open={isOpen}
|
open={isOpen}
|
||||||
>
|
>
|
||||||
<Row align="center" grow className={classes.heading}>
|
<Row align="center" grow className={classes.heading}>
|
||||||
<Paragraph className={classes.manage} noMargin>
|
<Paragraph className={classes.manage} noMargin weight="bolder" >
|
||||||
Remove Safe
|
Remove Safe
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<IconButton onClick={onClose} disableRipple>
|
<IconButton onClick={onClose} disableRipple>
|
||||||
|
@ -66,7 +66,7 @@ const RemoveSafeComponent = ({
|
||||||
</Col>
|
</Col>
|
||||||
<Col xs={11}>
|
<Col xs={11}>
|
||||||
<Block className={classNames(classes.name, classes.userName)}>
|
<Block className={classNames(classes.name, classes.userName)}>
|
||||||
<Paragraph size="lg" noMargin>
|
<Paragraph size="lg" noMargin weight="bolder">
|
||||||
{safeName}
|
{safeName}
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<Block align="center" className={classes.user}>
|
<Block align="center" className={classes.user}>
|
||||||
|
|
|
@ -51,7 +51,7 @@ const UpdateSafeName = (props: Props) => {
|
||||||
{() => (
|
{() => (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Block className={classes.formContainer}>
|
<Block className={classes.formContainer}>
|
||||||
<Paragraph noMargin className={classes.title} size="lg">
|
<Paragraph noMargin className={classes.title} size="lg" weight="bolder">
|
||||||
Modify Safe name
|
Modify Safe name
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<Block className={classes.root}>
|
<Block className={classes.root}>
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { lg, border } from '~/theme/variables'
|
import { lg, border } from '~/theme/variables'
|
||||||
|
|
||||||
export const styles = () => ({})
|
export const styles = () => ({
|
||||||
|
title: {
|
||||||
|
padding: `${lg} 0 20px`,
|
||||||
|
fontSize: '16px',
|
||||||
|
},
|
||||||
|
formContainer: {
|
||||||
|
padding: '0 20px',
|
||||||
|
minHeight: '369px',
|
||||||
|
},
|
||||||
|
root: {
|
||||||
|
display: 'flex',
|
||||||
|
maxWidth: '460px',
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
|
@ -70,7 +70,9 @@ class Settings extends React.Component<Props, State> {
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Row align="center" className={classes.message}>
|
<Row align="center" className={classes.message}>
|
||||||
<Col xs={6}>
|
<Col xs={6}>
|
||||||
<Paragraph className={classes.settings}>Settings</Paragraph>
|
<Paragraph className={classes.settings} size="lg" weight="bolder">
|
||||||
|
Settings
|
||||||
|
</Paragraph>
|
||||||
</Col>
|
</Col>
|
||||||
<Col xs={6} end="sm">
|
<Col xs={6} end="sm">
|
||||||
<Paragraph noMargin size="md" color="error" className={classes.links} onClick={this.onShow('RemoveSafe')}>
|
<Paragraph noMargin size="md" color="error" className={classes.links} onClick={this.onShow('RemoveSafe')}>
|
||||||
|
|
Loading…
Reference in New Issue