No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Align to center within Grid Column

    Help
    2
    3
    2269
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sonicviz last edited by

      Any clues on how to do this?
      It might seem obvious but none of the regular position/align things seem to work.

      I have a row
      I have a column

        <q-list bordered separator>
          <q-item class="row q-col-gutter-sm justify-center align-center"
          v-for="x in y" :key='x'>
            <div class="col-1"
              v-for="a in b" :key='a'
            > <div class="align-center">{{ x[a] }}</div>
            </div>
          </q-item>
        </q-list>
      

      Am I missing something?

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @sonicviz last edited by

        @sonicviz
        this works for me to center things.

        style="margin-left: auto;margin-right: auto;"
        
        1 Reply Last reply Reply Quote 0
        • S
          sonicviz last edited by

          text-center

          1 Reply Last reply Reply Quote 0
          • First post
            Last post