Web: Components: fixed empty-screen-container to new article
This commit is contained in:
parent
2db018dcf6
commit
946ed771ac
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user