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

    Flexbox arragement

    Help
    2
    3
    380
    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.
    • T
      timescale last edited by

      I am new to quasar and trying to arrange a login page. But I could not achieve correct spacing between items in vertical direction. My code as below, some help?

      <template>
      <q-page class=“flex flex-center”>
      <div class=“column items-center”>
      <div class=“col-12”>
      <img alt=“Gooatin” src="~assets/goat.png">
      </div>
      <div class=“q-display-1”>Sign In</div>
      <div>
      <q-input v-model=“email” type=“email” float-label=“E-Mail” />
      </div>
      <div class=“col-12”>
      <q-input v-model=“password” type=“password” float-label=“Password” />
      </div>
      <div class=“col-4”>
      <q-btn label=“Sign In” />
      </div>
      </div>
      </q-page>
      </template>

      1 Reply Last reply Reply Quote 0
      • G
        genyded last edited by

        That’s not much information, but if you look at the docs here, you can see the gutters for controlling flex gutters or here for general CSS spacing classes.

        1 Reply Last reply Reply Quote 0
        • T
          timescale last edited by

          thanks i think i figured out.

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