› Forums › How to solve › Cols not working properly for xs in vuetify › Reply To: Cols not working properly for xs in vuetify
January 24, 2025 at 8:49 am
#122276
Participant
The cols attribute: This is the default for smaller screen sizes (mobile, including xs). If you set cols=”4″, it means the component will take up 12 columns on the smallest screen size (and any larger size that isn’t explicitly specified).
The xs attribute: If you specify xs=”2″ but also have cols=”4″, the cols attribute will take precedence because it acts as an alias for the smallest size. In this case, xs=”2″ will have no effect.
-
This reply was modified 1 year, 3 months ago by
eralbagraba.