Преглед изворни кода

Edit bug fixed

feature/706
jovan.cirkovic пре 3 година
родитељ
комит
c9bc3f468f

+ 8
- 7
src/components/Cards/CreateOfferCard/CreateOffer.styled.js Прегледај датотеку

@@ -18,7 +18,7 @@ export const ModalCreateOfferContainer = styled(Box)`
padding: ${(props) => (props.currentstep !== 3 ? "0 120px" : "0 36px")};
overflow-y: auto;
overflow-x: hidden;
${(props) => props.currentstep === 3 && `height: 712px;`}
/* ${(props) => props.currentstep === 3 && `height: 712px;`} */
&::-webkit-scrollbar {
width: 5px;
}
@@ -52,7 +52,7 @@ export const ModalCreateOfferContainer = styled(Box)`
top: 0;
left: 0;
padding: 0 30px;
${props => props.currentstep === 3 && `padding: 0;`}
${(props) => props.currentstep === 3 && `padding: 0;`}
}
`;

@@ -98,7 +98,6 @@ export const CreateOfferContainer = styled(Container)`
align-items: center;
${(props) => props.currentstep === 3 && `padding-bottom: 20px;`}


@media (max-width: 810px) {
${(props) =>
props.currentstep === 3 &&
@@ -109,8 +108,10 @@ export const CreateOfferContainer = styled(Container)`
}

@media screen and (max-width: 600px) {
width: 95%;
${props => props.currentstep === 3 && `padding: 0 8px;`}
width: 100%;
padding-right: 0;
padding-left: 0;
${(props) => props.currentstep === 3 && `padding: 0 15px;`}
}
`;
export const CreateOfferTitle = styled(Typography)`
@@ -230,8 +231,8 @@ export const NextButtonContainer = styled(PrimaryButton)`
position: absolute;
bottom: 18px;
height: 44px;
width: calc(100% - 18px);
left: 9px;
width: 339px;
/* left: 9px; */
& button {
height: 44px;
}

+ 1
- 1
src/components/Cards/CreateOfferCard/ThirdPart/ThirdPartCreateOffer.styled.js Прегледај датотеку

@@ -25,6 +25,6 @@ export const PublishButton = styled(PrimaryAnimatedButton)`
width: 339px;
height: 44px;
position: absolute;
bottom: 18px;
bottom: 26px;
}
`;

+ 2
- 1
src/components/Cards/ItemDetailsCard/OfferDetails/OfferDetails.styled.js Прегледај датотеку

@@ -61,7 +61,7 @@ export const OfferLittleDetails = styled(Box)`
padding: ${(props) => (props.singleOffer ? 0 : "0 60px")};
margin-top: 10px;
padding-right: 18px;
overflow-y: ${props => !props.previewCard && `auto`};
overflow-y: ${(props) => !props.previewCard && `auto`};
${(props) =>
!props.singleOffer &&
`
@@ -100,6 +100,7 @@ export const ScrollerVertical = styled(VerticalScroller)`
export const OfferInfoContainer = styled(Box)`
${(props) => props.previewCard === undefined && `height: 500px;`}
overflow-y: auto;
width: 100%;
::-webkit-scrollbar {
width: 5px;
}

Loading…
Откажи
Сачувај