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:
@@ -50,7 +50,7 @@ export default function SelectHotelContent({
|
||||
const intl = useIntl()
|
||||
const map = useMap()
|
||||
|
||||
const isAboveMobile = useMediaQuery("(min-width: 768px)")
|
||||
const isAboveMobile = useMediaQuery("(min-width: 900px)")
|
||||
const [visibleHotels, setVisibleHotels] = useState<HotelResponse[]>([])
|
||||
const [showSkeleton, setShowSkeleton] = useState<boolean>(true)
|
||||
const listingContainerRef = useRef<HTMLDivElement | null>(null)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@media (min-width: 900px) {
|
||||
.container .closeButton {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user