indok-web icon indicating copy to clipboard operation
indok-web copied to clipboard

Image slide at cabins page cropped suboptimally

Open einar-m opened this issue 2 years ago • 1 comments

Describe the bug

Maybe harsh to call this a bug, it's a minor issue.

The image slider on indokntnu.no/cabins crops too "short"/shallow, not sure what's the best term, when in

  • Phone, landscape
  • Tablet, portrait

To Reproduce

Steps to reproduce the behavior:

  1. Go to indokntnu.no/cabins on an iPad or iPhone
  2. Scroll down to image slider
  3. Rotate to landscape mode (iPhone) or portrait mode (iPad)
  4. See error

Expected behavior

The image slider should keep the same height width ratio as it does in all other configurations to properly display the full photo.

Screenshots

iPhone in landscape mode:

IMG_7815

iPad in portrait mode:

Photo slider issue

Tablet (please complete the following information):

  • iPad Pro 3rd gen
  • OS: iPadOS 15.6.1
  • Browser: Safari

Smartphone (please complete the following information):

  • Device: iPhone X
  • OS: 16.0
  • Browser: Safari

Additional context

Add any other context about the problem here.

einar-m avatar Oct 04 '22 20:10 einar-m