Constrain icon size to container
This commit is contained in:
@@ -64,6 +64,8 @@ const StyledIcon = styled.figure<IconProps>`
|
||||
margin: ${props => getCSSPadding(props.margin)};
|
||||
display: inline-block;
|
||||
flex-shrink: 0;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
svg {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user