1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/ui/src/shared/composers.js

21 lines
345 B
JavaScript
Raw Normal View History

2016-12-06 13:50:24 +02:00
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;
`
};