You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a bug, a browser support issue, or a mistake on my part. I need some assistance. When I apply object-contain to images of different heights in a carousel, something strange happens only on Safari iOS. The image is not vertically centered; instead, it aligns to the top. It works fine on other browsers and operating systems like Windows, Android, and Linux.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm not sure if this is a bug, a browser support issue, or a mistake on my part. I need some assistance. When I apply
object-contain
to images of different heights in a carousel, something strange happens only on Safari iOS. The image is not vertically centered; instead, it aligns to the top. It works fine on other browsers and operating systems like Windows, Android, and Linux.Here’s an example of my code:
You can see my full code here.
Here are my current dependencies:
Here’s the result in Safari iOS 17.5.1:
Carousel In Safari
Beta Was this translation helpful? Give feedback.
All reactions