1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 14:50:07 +02:00
copilot/ui/src/shared/composers.js
Sérgio Ramos 557cd5a291 wip rm css
2016-12-12 10:28:47 +00:00

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;
`
};