EnxDev commented on code in PR #32845:
URL: https://github.com/apache/superset/pull/32845#discussion_r2023186545


##########
superset-frontend/src/components/Menu/index.tsx:
##########
@@ -61,7 +61,7 @@ const StyledMenuItem = styled(AntdMenu.Item)`
         height: 3px;
         opacity: 0;
         transform: translateX(-50%);
-        transition: all ${({ theme }) => theme.motionDurationMid}s;
+        transition: translate ${({ theme }) => theme.motionDurationMid}s;

Review Comment:
   let's use something like that:
   
   ```
   const SomeStyledThing=styled.div`
     ${({ theme }) => css`
       padding: ${theme.sizeUnit * 2}px;        
       border-radius: ${theme.borderRadius}px;
       border: 1px solid ${theme.colorPrimary};
     `}
   `;
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to