1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-17 00:25:50 +07:00

refactor: move cascaded CSS from templates to JS objects

This commit is contained in:
Sergio Herrera Guzmán
2019-07-15 11:57:32 +02:00
parent 8ea017d871
commit 115be1bb6e
26 changed files with 478 additions and 478 deletions

View File

@@ -2,15 +2,15 @@ import Card from '@material-ui/core/Card';
import Typography from '@material-ui/core/Typography';
import styled from 'react-emotion';
export const CardStyled = styled(Card)`
&& {
width: 600px;
margin: auto;
}
`;
export const CardStyled = styled(Card)({
'&&': {
width: '600px',
margin: 'auto',
},
});
export const HelpTitle = styled(Typography)`
&& {
margin-bottom: 20px;
}
`;
export const HelpTitle = styled(Typography)({
'&&': {
marginBottom: '20px',
},
});