@iisakkirotko is there an easy way to

@iisakkirotko is there an easy way to handle sizing for cards in a Column? I haev the code
@sl.component
def LeftColumn():
with sl.Column(classes=["left-section"]):
ProgressBar()
SuggestedQuestions()
Transcript()
@sl.component
def LeftColumn():
with sl.Column(classes=["left-section"]):
ProgressBar()
SuggestedQuestions()
Transcript()
and all i want is essentially sl.Columns but for the height instead of with. I want [1, 1, 3] in terms of those 3 components, which are all cards. Is that easy?
2 Replies
Ben Epstein
Ben EpsteinOP2mo ago
i got it working with some css
iisakkirotko
iisakkirotko2mo ago
Nice! I would have set the cards' height to zero, and used flex-grow: 1/2/3

Did you find this page helpful?