indok-web
indok-web copied to clipboard
Image slide at cabins page cropped suboptimally
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:
- Go to indokntnu.no/cabins on an iPad or iPhone
- Scroll down to image slider
- Rotate to landscape mode (iPhone) or portrait mode (iPad)
- 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:
iPad in portrait mode:
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.