Web: Components: fixed empty-screen-container to new article

This commit is contained in:
Nikita Gopienko 2020-08-31 16:31:56 +03:00
parent 2db018dcf6
commit 946ed771ac

View File

@ -1,8 +1,10 @@
import React from "react";
import styled from "styled-components";
import styled, { css } from "styled-components";
import PropTypes from "prop-types";
import Text from '../text';
const phoneSize = 464;
const EmptyContentBody = styled.div`
margin: 0 auto;
padding: 50px 0;
@ -40,6 +42,14 @@ const EmptyContentBody = styled.div`
padding-top: 10px;
}
${props =>
props.widthProp <= phoneSize &&
css`
.ec-image {
display: none;
}
`}
@media (orientation: portrait) {
@media (max-width: 700px) {
.ec-image {