aspect-ratio property on images not applying correctly on firefox in tailwind css

Welcome to our community

Be apart of something great, join today!

AlexTrite

Newbie
Messages
5
Reaction score
1
Points
3
Hello,

This is my first real project, I am currently studying web development.

I have a simple gallery and I wanted to give the images a specific aspect ratio. Everything looks like I want on Chrome and Safari but on Firefox I have this issue where the property is not applying correctly and the images are displayed incorrectly.

You don't have permission to view the spoiler content. Log in or register now.

Chrome and Safari ( this is what I want ) :

Firefox:

I am sure I am missing something simple but I can't seem to get my head around it.
Any help is much appreciated! Thank you!
 
  • Advertisement
  • Advertisement

    Top