Merged in fix/SW-1827-map-ipad-breakpoint (pull request #2539)
fix(SW-1827): change breakpoint for ipad to 900 for map view select hotel * fix(SW-1827): change breakpoint for ipad to 900 for map view select hotel Approved-by: Anton Gunnarsson Approved-by: Matilda Landström
This commit is contained in:
@@ -17,7 +17,7 @@ export default function HotelListing({
|
||||
unfilteredHotelCount,
|
||||
}: HotelListingProps) {
|
||||
const { activeHotel } = useHotelsMapStore()
|
||||
const isMobile = useMediaQuery("(max-width: 767px)")
|
||||
const isMobile = useMediaQuery("(max-width: 899px)")
|
||||
|
||||
return isMobile ? (
|
||||
<div className={styles.hotelListingMobile} data-open={!!activeHotel}>
|
||||
|
||||
Reference in New Issue
Block a user