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

    gt-md class doesn't work on <q-btn> component

    Help
    2
    3
    871
    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.
    • K
      keyb2004 last edited by

      I want to hide the button when the screen is small, put the gt-md class on the q-btn, it doesn’t work. It must be put inito the div.

      Is it right ?

          <!-- Header -->
          <q-toolbar slot="header" style="height: 80px; background: #818181">
            <div class="gt-sm">
            <q-btn flat @click="$refs.layout.toggleLeft()">
              <q-icon name="menu" />
            </q-btn>
            </div>
            <q-toolbar-title>
              Mind2Data
            </q-toolbar-title>
            <q-btn flat @click="$refs.layout.toggleRight()" class="gt-sm">
              <q-icon name="menu" />
            </q-btn>
          </q-toolbar>
      
      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Fixed. No longer necessary to wrap buttons. Thanks for reporting!
        Now “npm update quasar-framework” (if using the edge version, which I think you do).

        -Razvan

        1 Reply Last reply Reply Quote 0
        • K
          keyb2004 last edited by

          Thank you so much!

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