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

    change q-fab size

    Framework
    2
    2
    677
    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.
    • J
      jbridge last edited by

      based on the doc example:
      https://quasar.dev/vue-components/floating-action-button#Square-style

      I used the codepen to add:
      style=“width:28px;height:28px;”

      inside q-fab properties

      q-fab.PNG

      Please note that red-circled q-fab square now display half in width, but height didn’t change.

      How can I set the size for q-fab button?

      Thanks

      1 Reply Last reply Reply Quote 0
      • E
        elvinc last edited by

        to make the q-fab smaller add the class “q-btn–fab-mini”
        <q-fab
        class=“q-btn–fab-mini”
        color=“primary”
        icon=“keyboard_arrow_down”
        push
        direction=“down”
        >
        </q-fab>

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