#Grid.Col xs={6} does not resize the columns to have 2 columns in XS viewport

1 messages ยท Page 1 of 1 (latest)

inland gull
#

you are not alone me too i thing xs is not working

#

this is my mobile view got result
like this but i found solution

#

now on my mobile

#

i use set span to 12 and then you set sm md lg xl

#

that will help you a lot

#

@gilded turtle i think xs on grid is not working directly i notice that but now i can make it work by my solution

wispy solar
#

I am having this same problem, but even with sm. I tried this solution on the columns, but it didn't work.

unique adder
#

You can find explanation on how columns work here โ€“ https://mantine.dev/core/grid/#responsive-columns

Grid component, as well as other components with responsive props, use mobile-first approach. If you set xs prop it means that it will be applied when viewport is larger than xs.

Flexbox grid system with variable amount of columns

wispy solar
#

Okay, it annoys me that I didn't get this despite reading that section several times before asking this question. Thank you, Vitaly, as always.