Merged in fix/SW-3481-map-view-pin-highlighted (pull request #2814)
fix(SW-3481): highlight pin and min width to 900 to avoid duplicate hotelcards * fix(SW-3481): highlight pin and min width to 900 to avoid duplicate hotelcards Approved-by: Matilda Landström
This commit is contained in:
@@ -265,6 +265,7 @@ export function SelectHotelMapContent({
|
||||
},
|
||||
}
|
||||
})}
|
||||
activeHotelPin={hotelMapStore.activeHotel}
|
||||
mapId={mapId}
|
||||
onTilesLoaded={debouncedUpdateHotelCards}
|
||||
fitBounds={isAboveMobile || !hotelMapStore.activeHotel}
|
||||
|
||||
@@ -33,7 +33,7 @@ export function HotelListingMapContent({
|
||||
lang,
|
||||
onClickHotel,
|
||||
}: HotelListingMapContentProps) {
|
||||
const isDesktop = useMediaQuery('(min-width: 768px)')
|
||||
const isDesktop = useMediaQuery('(min-width: 900px)')
|
||||
|
||||
const toggleActiveHotelPin = (
|
||||
args: { hotelName: string; hotelId: string } | null
|
||||
|
||||
Reference in New Issue
Block a user