Просмотр исходного кода

Finished partly feature 710

feature/710
djordjemitrovic00 3 лет назад
Родитель
Сommit
7e40388355

+ 3
- 0
src/components/UserReviews/UserReviews.styled.js Просмотреть файл

position: relative; position: relative;
top: -15px; top: -15px;
`} `}
@media (max-width: 1350px) {
min-width: 0;
}
/* margin-top: ${(props) => (props.profile ? "60px" : "0")}; */ /* margin-top: ${(props) => (props.profile ? "60px" : "0")}; */
@media (max-width: 600px) { @media (max-width: 600px) {
position: relative; position: relative;

+ 4
- 2
src/layouts/ProfileLayout/ProfileLayout.js Просмотреть файл

const ProfileLayout = (props) => { const ProfileLayout = (props) => {
return ( return (
<ProfileLayoutContainer <ProfileLayoutContainer
isAdmin={props.isAdmin}
singleOffer={props.singleOffer} singleOffer={props.singleOffer}
profile={props.profile} profile={props.profile}
> >
{props.children} {props.children}
<ContentRightCardContainer container spacing={2}> <ContentRightCardContainer container spacing={2}>
<Content sm={12} md={9} lg={9} item>{props.content}</Content>
<RightCard sm={0} md={3} lg={3} item singleOffer={props.singleOffer} profile={props.profile}>
<Content sm={12} md={8} lg={9} item>{props.content}</Content>
<RightCard sm={0} md={4} lg={3} item singleOffer={props.singleOffer} profile={props.profile}>
{props.rightCard} {props.rightCard}
</RightCard> </RightCard>
</ContentRightCardContainer> </ContentRightCardContainer>
rightCard: PropTypes.node, rightCard: PropTypes.node,
singleOffer: PropTypes.bool, singleOffer: PropTypes.bool,
profile: PropTypes.bool, profile: PropTypes.bool,
isAdmin: PropTypes.bool,
}; };


export default ProfileLayout; export default ProfileLayout;

+ 2
- 2
src/layouts/ProfileLayout/ProfileLayout.styled.js Просмотреть файл

position: relative; position: relative;
/* flex: 1; */ /* flex: 1; */
height: 100%; height: 100%;
@media (max-width: 1200px) {
padding-right: 36px;
@media (max-width: 1350px) {
padding-right: ${props => props.isAdmin ? "36px" : "0"};
} }
@media (max-width: 600px) { @media (max-width: 600px) {
padding-left: 0; padding-left: 0;

Загрузка…
Отмена
Сохранить