Skip to content

Commit

Permalink
fix(Input): Remove flex-shrink to allow inputs to shrink as needed (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
silvalaura authored Sep 24, 2024
1 parent 325ed35 commit 482268a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/inputwrapperstyles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-dom': patch
---

fix(Input): Remove flex-shrink to allow inputs to shrink as needed.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export const inputWrapperStyles = (props: InputWrapperStylesProps) => css`
flex: 1 1 auto;
align-items: center;
display: flex;
flex-shrink: 0;
position: relative;
width: ${props.width || 'auto'};
background-color: ${props.isInverse
Expand Down

2 comments on commit 482268a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.