canonical / vanilla-framework

From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.
https://vanillaframework.io
GNU Lesser General Public License v3.0
798 stars 163 forks source link

Image container aspect ratios do not apply on small screens #5159

Closed jmuzina closed 6 days ago

jmuzina commented 2 weeks ago

Describe the bug

p-image-container aspect ratio classes do not apply aspect ratio on smaller screen sizes.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the all aspect ratios example.
  2. Reduce screen width to 300px.
  3. See that aspect ratio is no longer applied to the examples.

Expected behavior Image containers with set aspect ratios work on all screen sizes.

Screenshots

image

Further context

jmuzina commented 1 week ago

Meeting scheduled tomorrow with @pastelcyborg @bartaz @lyubomir-popov @dgtlntv to discuss.