Reset overflow visible to previous value, fix console error (#13586)
Fixing two issues I introduced in #13583 and #13573 - Overflow visible is not needed, I missed that as I was switching between different implementations - Button within button not allowed (not the prettiest fix but I din't think it's worth digging deeper)
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ export type NavigationDrawerProps = {
|
||||
|
||||
const StyledAnimatedContainer = styled(motion.div)`
|
||||
max-height: 100vh;
|
||||
overflow: visible;
|
||||
overflow: hidden;
|
||||
`;
|
||||
|
||||
const StyledContainer = styled.div<{
|
||||
|
||||
+1
-1
@@ -307,7 +307,7 @@ export const NavigationDrawerItem = ({
|
||||
aria-selected={active}
|
||||
danger={danger}
|
||||
soon={soon}
|
||||
as={to ? Link : undefined}
|
||||
as={to ? Link : rightOptions ? 'div' : undefined}
|
||||
to={to ? to : undefined}
|
||||
indentationLevel={indentationLevel}
|
||||
isNavigationDrawerExpanded={isNavigationDrawerExpanded}
|
||||
|
||||
Reference in New Issue
Block a user