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

    Drawer size adjustment

    Framework
    2
    3
    1209
    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.
    • rohityadav
      rohityadav last edited by rohityadav

      i want drawer small for desktop and medium for mobile so for that i write stylus but in this i am facing this issue 0_1500809793249_issue.png

      Please help me out?

      below i am using the stylus

      @media screen and (min-width: 921px)
      .drawer-content
      width 160px
      &.left-side
      transform translateX(-160px)
      &.right-side
      transform translateX(160px)
      .drawer
      &:not(.active):not(.swipe-only)
      flex 0 0 160px

      @media screen and (max-width 920px)
      .drawer-content
      width 220px
      &.left-side
      transform translateX(-220px)
      &.right-side
      transform translateX(220px)

      1 Reply Last reply Reply Quote 0
      • S
        spectrolite last edited by spectrolite

        you’re missing a piece, maybe that’s the problem ?

        .drawer
        &:not(.active):not(.swipe-only)
        flex 0 0 220px
        
        1 Reply Last reply Reply Quote 0
        • rohityadav
          rohityadav last edited by

          @spectrolite Thanks man… appreciate for your help

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