| <PinOutlinedIcon /> | <PinOutlinedIcon /> | ||||
| </PinIconContainer> | </PinIconContainer> | ||||
| )} | )} | ||||
| {props?.offer?.pinned && <PinIcon isMyOffer={props.isMyOffer} />} | |||||
| {props?.offer?.pinned && <PinIcon vertical={props.vertical} isMyOffer={props.isMyOffer} />} | |||||
| </OfferFlexContainer> | </OfferFlexContainer> | ||||
| </OfferCardContainer> | </OfferCardContainer> | ||||
| {deleteOfferModal && ( | {deleteOfferModal && ( |
| position: absolute; | position: absolute; | ||||
| top: 20px; | top: 20px; | ||||
| right: 68px; | right: 68px; | ||||
| @media (max-width: 600px) { | |||||
| top: 20px; | |||||
| right: 55px; | |||||
| } | |||||
| ${(props) => | ${(props) => | ||||
| props.isMyOffer && | props.isMyOffer && | ||||
| ` | ` | ||||
| right: 94px; | right: 94px; | ||||
| } | } | ||||
| `} | `} | ||||
| @media (max-width: 600px) { | |||||
| top: 20px; | |||||
| right: 55px; | |||||
| ${props => props.vertical && ` | |||||
| top: initial; | |||||
| bottom: 18px; | |||||
| right: 18px; | |||||
| `} | |||||
| } | |||||
| `; | `; | ||||
| export const CategoryIcon = styled(Category)` | export const CategoryIcon = styled(Category)` | ||||
| width: 14px; | width: 14px; |