Merged in feature/SW-3365-blurry-images (pull request #2746)
Feature/SW-3365 reduce upscaling of images (fix blurry images) * fix: handle when images are wider than 3:2 but rendered in a 3:2 container * use dimensions everywhere applicable * fall back to using <img sizes='auto' /> if possible * imageLoader: never nest * remove empty test file Approved-by: Anton Gunnarsson Approved-by: Matilda Landström
This commit is contained in:
@@ -54,7 +54,6 @@ const RoomImage = memo(function RoomImage({
|
||||
title={roomType}
|
||||
fill
|
||||
imageCountPosition="top"
|
||||
sizes="(max-width: 768px) 768px, 420px"
|
||||
/>
|
||||
<div className={styles.toggleSidePeek}>
|
||||
{roomTypeCode && room && (
|
||||
|
||||
Reference in New Issue
Block a user