HELP ME w/ SIMPLE CSS/FLEXBOX
(please ty, istg im losing my mind over something so simple)
GOAL: I want to apply flex-grow to the red ScrollArea to fill the remaining space of <section> in the first <ResizablePanel>.
CODE: ResizablePanelGroup > ResizablePanel > Section > Div & ScrollArea is the component tree.
DM or reply if you can help me out! I've attached a screenshot of the first <ResizablePanel>, and the red element is <ScrollArea>. Thanks!

1 Reply
ANSWER: follow the cascade up and keep defining the height of the (grand)parent(s) of what you want to grow. Make sure that you apply flex everywhere you grow because grow is a flexbox class.