This commit is contained in:
Andras Schmelczer 2022-01-24 21:36:45 +01:00
parent 1b63bbc0da
commit 9f906d1fdf
No known key found for this signature in database
GPG key ID: 39260B5B0614A13E
13 changed files with 17 additions and 17 deletions

View file

@ -30,7 +30,7 @@ export class Image extends PageElement {
return (
image.images
.slice(0, -1)
.map(d => `(max-width: ${d.width / Image.imageScreenRatio}px) ${d.width}px,`)
.map((d) => `(max-width: ${d.width / Image.imageScreenRatio}px) ${d.width}px,`)
.join('\n') + `\n${last(image.images)!.width}px`
);
}