V
V
vikholodov2019-06-20 11:36:05
Vue.js
vikholodov, 2019-06-20 11:36:05

How to center vuetify v-flex boxes while maintaining column sizes?

Do not throw stones, I have been sitting on bootstrap all my life and never thought that I would encounter such a problem.
One of the markup options:

<v-container grid-list-xl text-xs-center>
      <v-layout wrap>
        <v-flex xs4 mx-auto></v-flex>
        <v-flex xs4 mx-auto></v-flex>
        <v-flex xs4 mx-auto></v-flex>
     ...

In general, as I just didn’t pervert, I did column and justify-center and the devil knows what else, until I just fell to crutches with a fixed size. How to center all blocks in the layout so that the size fits 4 columns or 6 or 5?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question