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