Correctly resize big images in preview

I removed
```scss
// Otherwise we get the wrong size in JS
max-width: none;
```
but it doesn't seem to have broken anything