TabbedContent's height fit to content? #4559
Answered
by
willmcgugan
fsonnenburg
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
May 28, 2024
Replies: 2 comments 6 replies
-
You might want to knock up a sample app and tcss with all the elements you need, and I'll suggest some CSS to fix it. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Great, this works perfect with an explicit line count:
But with relative values the result is not really what I expect, when live shrinking and expanding the terminal while viewing. But I think, this is really hard to figure out, and I'm even not sure whether my expectation is the "correct" behavior.
Thanks a lot for your answer and for the fix in 0.63.5. Best regards, Frank |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There was an issue with DataTables in tabbed content, which is fixed in 0.63.5
From your sketch, I think you want to set the tabbed content, and DataTable to
height: auto