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

    Making a q-card to fill all the available space

    Help
    2
    2
    9073
    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.
    • A
      averri last edited by

      Using the Flex CSS classes, how to make a q-card to fill all the available space in the UI (both vertical and horizontal spaces)?

      1 Reply Last reply Reply Quote 0
      • F
        Frondor last edited by Frondor

        If your card is inside a .container, .row, .column or any flex element, you can use <q-card class="no-margin full-height">, otherwise, you can use window-height instead, which may be too high for sure.
        You can also try .fit class as stated here http://quasar-framework.org/components/other-helper-classes.html#Size-Related

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