Prevent flex container overflow with min-w-0
This commit is contained in:
@@ -35,7 +35,7 @@ function PageWithSidebar(props: PageProps) {
|
|||||||
const { Navigation, Children, MobileNavigation } = getSlotsFromPage(props);
|
const { Navigation, Children, MobileNavigation } = getSlotsFromPage(props);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cn('flex flex-1', props.className)}>
|
<div className={cn('flex min-w-0 flex-1', props.className)}>
|
||||||
{Navigation}
|
{Navigation}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user