Add listing edit mobile link

This commit is contained in:
Kimmo Puputti 2017-08-11 10:30:40 +03:00
parent e5f5995dbb
commit b8b12c1c40
3 changed files with 14 additions and 0 deletions

View file

@ -424,3 +424,13 @@
.ownListingText {
margin-top: 15px; /* align to baseline */
}
.editListingMobile {
margin: 0 24px;
@media (--viewportMedium) {
margin: 0;
}
@media (--viewportLarge) {
display: none;
}
}

View file

@ -257,6 +257,9 @@ export class ListingPageComponent extends Component {
</div>
{map}
<div className={css.editListingMobile}>
{editListingLink}
</div>
</div>
<ModalInMobile

View file

@ -129,6 +129,7 @@ exports[`ListingPage matches snapshot 1`] = `
zoom={11} />
</div>
</div>
<div />
</div>
<withViewport(ModalInMobileComponent)
id="BookingDatesFormInModal"