Skip to content

Drawer mobile start from a smaller breakpoint #795

Answered by saadeghi
elitenoire asked this question in Q&A
Discussion options

You must be logged in to vote

Currently it's only possible by adding some custom CSS:
https://play.tailwindcss.com/7zidjfRKOc?file=css

@media (min-width: 768px) {
  .drawer-mobile > .drawer-toggle ~ .drawer-side > .drawer-overlay + * {
    transform: translateX(0px);
  }
}

I will try to make it possible on the next major version.
I created a new issue for it here #797

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants