Sync column widths of 2 similar tables #1821
FuriousBranko
started this conversation in
General
Replies: 1 comment 1 reply
-
You could manually set the width of the column which doesn't fit for both tables. Or you probably could merge two tables into a single one with multiple thead and tbody tags: https://play.tailwindcss.com/MMSFuQ71P5 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, currently I'm displaying 2 tables. one below the other.
They're using the same columns and data types.
But the 2nd data set for the 2nd table has a few names that are long thus it shifts the columns more to the right.
( the first column contains Names, and there are 3 people that have longer names than the longest one in the 1st data set)
Can all columns be the same width in both tables but still be responsive?
I'm using NextJS 13.
Beta Was this translation helpful? Give feedback.
All reactions