♻️(frontend) delegate scroll to side panel content

Allow more flexibility in side panel behavior. Some panels, such as the chat,
require specific scrolling functionality:
- Header and footer should remain fixed
- Only chat messages should be scrollable

This change enables customization of scroll behavior for different panel types,
improving component reusability.
This commit is contained in:
lebaudantoine
2024-10-09 17:28:41 +02:00
committed by aleb_the_flash
parent 0da8aa846a
commit 0370d9cad0
3 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ const StyledSidePanel = ({
<RiCloseLine />
</Button>
</Div>
<Div overflowY="scroll">{children}</Div>
{children}
</Box>
)