Skip to content
Discussion options

You must be logged in to vote

The easiest way would be to use a flex col with full height (watch on mobiles, maybe use 100dvh instead of h-screen).

In the flex container add what you want on top and bottom, and make sure the element in the middle is flex-grow and scrollable

https://play.tailwindcss.com/bJ6M29Vawu

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cesarIsysDev
Comment options

Comment options

You must be logged in to vote
1 reply
@cesarIsysDev
Comment options

Answer selected by cesarIsysDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants