GalileoSchool / website

0 stars 4 forks source link

[BUG] On big screen carousel shrinks when Pearson image comes up #38

Open DiscreteConcrete opened 2 years ago

DiscreteConcrete commented 2 years ago

Describe the bug On big screen carousel shrinks when Pearson image comes up

Where is the bug? (If applicable) Index: https://www.galileoschool.sk/html/sk/index.html

To Reproduce Steps to reproduce the behavior:

  1. Increase browser size to more than some 1920px in width (if your screen is small, you can move the browser window off the edge of the screen and pull the browser width further)
  2. Go to main page (https://www.galileoschool.sk/html/sk/index.html)
  3. Wait for Pearson image in carousel OR click carousel right arrow until you see Pearson image
  4. When Pearson comes up, you will see that the carousel height suddenly decreases

Expected behavior A clear and concise description of what you expected to happen.

Screenshots carousel height stays the same

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

AdrianJakubcik commented 2 years ago

This is due to the aspect ratio of images being different, you can set a fixed size for the carousel and work around that way or make all the images in Carousel have the same aspect ratio.