Design fixes batch post linaria migration (#18509)

- Currency input
- Edit email button full height
- Full width ai field
- Missing borders
- Cmd+K icon button centered
This commit is contained in:
Thomas Trompette
2026-03-10 14:30:16 +01:00
committed by GitHub
parent 4370788023
commit 045faf018a
7 changed files with 24 additions and 24 deletions
@@ -413,10 +413,8 @@ const StyledShortcutLabel = styled.div<{
font-weight: ${themeCssVariables.font.weight.medium};
`;
const StyledIconContainer = styled.div`
align-items: center;
const StyledMotion = styled(motion.div)`
display: flex;
justify-content: center;
`;
export const AnimatedButton = ({
@@ -491,18 +489,14 @@ export const AnimatedButton = ({
data-globally-prevent-click-outside={dataGloballyPreventClickOutside}
>
{Icon && (
<StyledIconContainer>
<motion.div animate={animate} transition={transition}>
<Icon size={theme.icon.size.sm} />
</motion.div>
</StyledIconContainer>
<StyledMotion animate={animate} transition={transition}>
<Icon size={theme.icon.size.sm} />
</StyledMotion>
)}
{animatedSvg && (
<StyledIconContainer>
<motion.div animate={animate} transition={transition}>
{animatedSvg}
</motion.div>
</StyledIconContainer>
<StyledMotion animate={animate} transition={transition}>
{animatedSvg}
</StyledMotion>
)}
{title}
{hotkeys && !isMobile && (