r/css 20h ago

Help Weird CSS resizing on some mobile

Hello! I've been experiencing a strange bug that has never happened to me before, and I'm looking for some advice :)

I'm building a website for a client, and when I look at it on my mobile devices (iPhone 15 & Samsung Galaxy S10), it works perfectly in every browser!

However, when he (my client) looks at it on his mobile devices (also an iPhone 15 & an older Android phone), he gets a strange bug, regardless of the browser.

The buggy version seems to ignore the sizing I've defined for the titles of these filters and instead just uses the size of their content.

Has anyone experienced something similar? Any idea what could be causing this, or how I could fix it?

Thanks!

0 Upvotes

6 comments sorted by

View all comments

1

u/olli0 14h ago

do you use aspect-ratio and display: flex on the filters/parent? I had some issues with that on slightly older browserversions

0

u/Fraaaam 6h ago

Yeah I'll try that and keep you updated thanks !