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

    [Solved] [V1] QCard Layout - How to get QCards to be the same height?

    Framework
    faq-ui
    3
    7
    2085
    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
      Stanley last edited by s.molinari

      Dear Quasar team,

      Could you please have a look of my demo?
      https://codepen.io/Stanley-549393092/pen/qBWvOye
      As you can see,
      1). on big screen, all three cards should be on the same line
      2). on small screen, all three cards should be wrapped to a new line.

      I just wanna ask is that possible to let them have the same height on the big screen?

      M 1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        I’m far from an expert, but adding a min-height to the divs containing the cards should work.

        Scott

        S 1 Reply Last reply Reply Quote 0
        • S
          Stanley @s.molinari last edited by

          @s-molinari Thanks!

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            I am not sure if this will help, but I ran into the situation in helping someone else. But, the cards are the same height. 🙂

            https://codepen.io/smolinari/pen/dybrZjb

            Scott

            1 Reply Last reply Reply Quote 0
            • M
              mvelikoff @Stanley last edited by

              @Stanley , in your case, you can add “flex” class to the wrapper q-card’s div, and add class “full-width” or “fit” to the q-card tag.
              https://codepen.io/mvelikoff/pen/zYObWxW

              S 1 Reply Last reply Reply Quote 2
              • s.molinari
                s.molinari last edited by

                Nice! Thanks @mvelikoff.

                Scott

                1 Reply Last reply Reply Quote 0
                • S
                  Stanley @mvelikoff last edited by

                  @mvelikoff It’s cool. Thanks a lot!

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