make tab content scrollable

This commit is contained in:
Matthew Russell 2022-03-01 14:18:49 -08:00
parent 261f033d9a
commit 54bbe421bc

View File

@ -122,7 +122,7 @@ const GridTabs = ({ children, group }: GridTabsProps) => {
})}
</div>
{/* the content */}
<div>
<div className="h-full overflow-auto">
{Children.map(children, (child) => {
if (isValidElement(child) && query[group] === child.props.name) {
return <div>{child.props.children}</div>;