fix(SW-952) re added address mobile
This commit is contained in:
@@ -57,6 +57,12 @@
|
|||||||
display: none;
|
display: none;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.addressMobile {
|
||||||
|
display: block;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.facilities {
|
.facilities {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
@@ -98,20 +98,24 @@ function HotelCard({
|
|||||||
{hotelData.address.streetAddress}, {hotelData.address.city}
|
{hotelData.address.streetAddress}, {hotelData.address.city}
|
||||||
</Caption>
|
</Caption>
|
||||||
</address>
|
</address>
|
||||||
<Caption color="baseTextMediumContrast" type="underline" asChild>
|
<address className={styles.addressMobile}>
|
||||||
<Link
|
<Caption color="burgundy" type="underline" asChild>
|
||||||
href={`https://www.google.com/maps/dir/?api=1&destination=${hotelData.location.latitude},${hotelData.location.longitude}`}
|
<Link
|
||||||
target="_blank"
|
href={`https://www.google.com/maps/dir/?api=1&destination=${hotelData.location.latitude},${hotelData.location.longitude}`}
|
||||||
aria-label={intl.formatMessage({
|
target="_blank"
|
||||||
id: "Driving directions",
|
aria-label={intl.formatMessage({
|
||||||
})}
|
id: "Driving directions",
|
||||||
title={intl.formatMessage({
|
})}
|
||||||
id: "Driving directions",
|
title={intl.formatMessage({
|
||||||
})}
|
id: "Driving directions",
|
||||||
>
|
})}
|
||||||
{hotelData.address.streetAddress}, {hotelData.address.city}
|
color="burgundy"
|
||||||
</Link>
|
size="small"
|
||||||
</Caption>
|
>
|
||||||
|
{hotelData.address.streetAddress}, {hotelData.address.city}
|
||||||
|
</Link>
|
||||||
|
</Caption>
|
||||||
|
</address>
|
||||||
<div>
|
<div>
|
||||||
<Divider variant="vertical" color="subtle" />
|
<Divider variant="vertical" color="subtle" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user