1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-04-28 15:41:37 +07:00
verdaccio-ui/src/components/Layout/index.js
Priscila Oliveira e2d478d65b initial commit
2019-02-03 17:04:42 +01:00

32 lines
513 B
JavaScript

/**
* @prettier
* @flow
*/
import styled, { css } from 'react-emotion';
export const Content = styled.div`
&& {
background-color: #ffffff;
flex: 1;
display: flex;
position: relative;
flex-direction: column;
}
`;
export const Container = styled.div`
&& {
display: flex;
flex-direction: column;
min-height: 100vh;
overflow: hidden;
${({ isLoading }) =>
isLoading &&
css`
${Content} {
background-color: #f5f6f8;
}
`}
`;