Threshold Settings controls rebranding fixes

This commit is contained in:
Mikhail Mikheev 2019-09-05 18:30:12 +04:00
parent c72f311f27
commit 03ede6919f
4 changed files with 11 additions and 14 deletions

View File

@ -1,5 +1,7 @@
// @flow // @flow
import { lg, sm, boldFont, border } from '~/theme/variables' import {
lg, sm, boldFont, border,
} from '~/theme/variables'
export const styles = () => ({ export const styles = () => ({
formContainer: { formContainer: {
@ -12,7 +14,6 @@ export const styles = () => ({
saveBtn: { saveBtn: {
marginRight: sm, marginRight: sm,
fontWeight: boldFont, fontWeight: boldFont,
boxShadow: '1px 2px 10px 0 rgba(212, 212, 211, 0.59)',
}, },
controlsRow: { controlsRow: {
padding: lg, padding: lg,

View File

@ -61,7 +61,7 @@ const ThresholdSettings = ({
owners owners
</Paragraph> </Paragraph>
{owners.size > 1 && granted && ( {owners.size > 1 && granted && (
<Row align="center" className={classes.buttonRow}> <Row className={classes.buttonRow}>
<Button <Button
color="primary" color="primary"
minWidth={120} minWidth={120}

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { import {
fontColor, lg, smallFontSize, md, border, secondaryText, fontColor, lg, smallFontSize, border, secondaryText,
} from '~/theme/variables' } from '~/theme/variables'
export const styles = () => ({ export const styles = () => ({
@ -11,21 +11,17 @@ export const styles = () => ({
}, },
}, },
container: { container: {
height: '100%',
position: 'relative',
padding: lg, padding: lg,
}, },
buttonRow: { buttonRow: {
padding: lg,
position: 'absolute', position: 'absolute',
bottom: '51px',
left: 0, left: 0,
height: '51px', bottom: 0,
width: '100%',
paddingRight: md,
display: 'flex',
justifyContent: 'flex-end',
borderTop: `solid 1px ${border}`,
boxSizing: 'border-box', boxSizing: 'border-box',
width: '100%',
justifyContent: 'flex-end',
borderTop: `2px solid ${border}`,
}, },
modifyBtn: { modifyBtn: {
height: '32px', height: '32px',

View File

@ -63,7 +63,7 @@ export default createMuiTheme({
borderRadius: '8px', borderRadius: '8px',
}, },
contained: { contained: {
boxShadow: 'none', boxShadow: '1px 2px 10px 0 rgba(212, 212, 211, 0.59)',
}, },
containedPrimary: { containedPrimary: {
backgroundColor: secondary, backgroundColor: secondary,