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

    Flex CSS XXL size?

    Framework
    3
    6
    1489
    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.
    • N
      Nicholas last edited by

      Hiya!
      Wondering if we could have an xxl flex size which could be around 1500px?
      I want to specify a specific grid size that works nicely on full hd+ displays (in my case, xl isn’t enough).
      If not, is there an easy CSS workaround for this?

      1 Reply Last reply Reply Quote 0
      • L
        leon last edited by

        @Nicholas I have the same need.

        N 1 Reply Last reply Reply Quote 1
        • N
          Nicholas @leon last edited by

          @leon
          Created a workaround for now. Add the following to your quasar.variables.styl file:

          @media (min-width: 1500px) {
            .col-xxl {
              max-width: 100%;
              flex-basis: 0;
              flex-grow: 1;
            }
            .col-xxl-auto {
              width: auto;
              flex: 0 0 auto;
            }
            .col-xxl-1 {
              flex: 0 0 8.3333%;
            }
            .row > .col-xxl-1 {
              max-width: 8.3333%;
            }
            .offset-xxl-1 {
              margin-left: 8.3333%;
            }
            .col-xxl-2 {
              flex: 0 0 16.6667%;
            }
            .row > .col-xxl-2 {
              max-width: 16.6667%;
            }
            .offset-xxl-2 {
              margin-left: 16.6667%;
            }
            .col-xxl-3 {
              flex: 0 0 25%;
            }
            .row > .col-xxl-3 {
              max-width: 25%;
            }
            .offset-xxl-3 {
              margin-left: 25%;
            }
            .col-xxl-4 {
              flex: 0 0 33.3333%;
            }
            .row > .col-xxl-4 {
              max-width: 33.3333%;
            }
            .offset-xxl-4 {
              margin-left: 33.3333%;
            }
            .col-xxl-5 {
              flex: 0 0 41.6667%;
            }
            .row > .col-xxl-5 {
              max-width: 41.6667%;
            }
            .offset-xxl-5 {
              margin-left: 41.6667%;
            }
            .col-xxl-6 {
              flex: 0 0 50%;
            }
            .row > .col-xxl-6 {
              max-width: 50%;
            }
            .offset-xxl-6 {
              margin-left: 50%;
            }
            .col-xxl-7 {
              flex: 0 0 58.3333%;
            }
            .row > .col-xxl-7 {
              max-width: 58.3333%;
            }
            .offset-xxl-7 {
              margin-left: 58.3333%;
            }
            .col-xxl-8 {
              flex: 0 0 66.6667%;
            }
            .row > .col-xxl-8 {
              max-width: 66.6667%;
            }
            .offset-xxl-8 {
              margin-left: 66.6667%;
            }
            .col-xxl-9 {
              flex: 0 0 75%;
            }
            .row > .col-xxl-9 {
              max-width: 75%;
            }
            .offset-xxl-9 {
              margin-left: 75%;
            }
            .col-xxl-10 {
              flex: 0 0 83.3333%;
            }
            .row > .col-xxl-10 {
              max-width: 83.3333%;
            }
            .offset-xxl-10 {
              margin-left: 83.3333%;
            }
            .col-xxl-11 {
              flex: 0 0 91.6667%;
            }
            .row > .col-xxl-11 {
              max-width: 91.6667%;
            }
            .offset-xxl-11 {
              margin-left: 91.6667%;
            }
            .col-xxl-12 {
              flex: 0 0 100%;
            }
            .row > .col-xxl-12 {
              max-width: 100%;
            }
            .offset-xxl-12 {
              margin-left: 100%;
            }
          }
          
          1 Reply Last reply Reply Quote 1
          • benoitranque
            benoitranque last edited by

            Does this follow the same pattern as the other quasar sizing classes? If so could you make a PR? Thanks!

            N 1 Reply Last reply Reply Quote 0
            • N
              Nicholas @benoitranque last edited by

              @benoitranque I took the xl style from quasar and basically just made it 1500px and modified all the class names to xxl.
              So it should follow the other sizing classes.

              1 Reply Last reply Reply Quote 0
              • L
                leon last edited by

                @Nicholas Very nice man. Tks a lot \o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/

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