mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
21 lines
345 B
JavaScript
21 lines
345 B
JavaScript
|
const Styled = require('styled-components');
|
||
|
|
||
|
const {
|
||
|
css
|
||
|
} = Styled;
|
||
|
|
||
|
module.exports = {
|
||
|
verticallyAlignCenter: css`
|
||
|
/* Need to palce position:relative on parent */
|
||
|
left: 50%;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
`,
|
||
|
clear: css`
|
||
|
display: block;
|
||
|
content: "";
|
||
|
clear: both;
|
||
|
`
|
||
|
};
|