Skip to content

Table overflow on rows #1790

Discussion options

You must be logged in to vote

Take a look at the modifications I made: https://codepen.io/estevanmaito/pen/GRpwmWx?editors=1000

Please, take a moment to consider why I did what I did and ask me if you have doubts.

A few key points:

  • Your absolute container around the table, with the h-full will take the same total height as the parent element. You add mt-2, so it bleeds.
  • I fixed it by putting everything inside a flex container, used flex-col to make items stack, and placed the table container inside another div with relative. Now flex will take care of it's 2 children and make them fit.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MartijnHarmenzon
Comment options

@estevanmaito
Comment options

@MartijnHarmenzon
Comment options

Answer selected by MartijnHarmenzon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants