Add and fix styles

This commit is contained in:
Germán Martínez 2019-06-14 18:03:52 +02:00
parent fae75d7599
commit 88798eff97
8 changed files with 22 additions and 11 deletions

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -23,8 +23,7 @@ import OpenPaper from '~/components/Stepper/OpenPaper'
import { getAccountsFrom } from '~/routes/open/utils/safeDataExtractor'
import Hairline from '~/components/layout/Hairline'
import { md, lg, sm } from '~/theme/variables'
const trash = require('../../assets/trash.svg')
import trash from '~/assets/icons/trash.svg'
type Props = {
classes: Object,

View File

@ -42,7 +42,7 @@ const Tokens = (props: Props) => {
return (
<React.Fragment>
<Row align="center" grow className={classes.heading}>
<Paragraph className={classes.manage} noMargin>
<Paragraph className={classes.manage} noMargin weight="bolder">
Manage Tokens
</Paragraph>
<IconButton onClick={onClose} disableRipple data-testid={MANAGE_TOKENS_MODAL_CLOSE_BUTTON_TEST_ID}>

View File

@ -51,7 +51,7 @@ const RemoveSafeComponent = ({
open={isOpen}
>
<Row align="center" grow className={classes.heading}>
<Paragraph className={classes.manage} noMargin>
<Paragraph className={classes.manage} noMargin weight="bolder" >
Remove Safe
</Paragraph>
<IconButton onClick={onClose} disableRipple>
@ -66,7 +66,7 @@ const RemoveSafeComponent = ({
</Col>
<Col xs={11}>
<Block className={classNames(classes.name, classes.userName)}>
<Paragraph size="lg" noMargin>
<Paragraph size="lg" noMargin weight="bolder">
{safeName}
</Paragraph>
<Block align="center" className={classes.user}>

View File

@ -51,7 +51,7 @@ const UpdateSafeName = (props: Props) => {
{() => (
<React.Fragment>
<Block className={classes.formContainer}>
<Paragraph noMargin className={classes.title} size="lg">
<Paragraph noMargin className={classes.title} size="lg" weight="bolder">
Modify Safe name
</Paragraph>
<Block className={classes.root}>

View File

@ -1,4 +1,17 @@
// @flow
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',
},
})

View File

@ -59,7 +59,9 @@ class Settings extends React.Component<Props, State> {
<React.Fragment>
<Row align="center" className={classes.message}>
<Col xs={6}>
<Paragraph className={classes.settings}>Settings</Paragraph>
<Paragraph className={classes.settings} size="lg" weight="bolder">
Settings
</Paragraph>
</Col>
<Col xs={6} end="sm">
<Paragraph noMargin size="md" color="error" className={classes.links} onClick={this.onShow('RemoveSafe')}>

View File

@ -22,9 +22,6 @@ export const styles = (theme: Object) => ({
alignItems: 'center',
cursor: 'pointer',
},
container: {
padding: lg,
},
message: {
margin: `${sm} 0`,
},