Skip to content

Commit

Permalink
fix(statusicon): prevent label from wrapping to a new line (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mturley authored Aug 26, 2020
1 parent e44198b commit d4515f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/StatusIcon/StatusIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export const StatusIcon: React.FunctionComponent<IStatusIconProps> = ({
<Flex
spaceItems={{ default: 'spaceItemsSm' }}
alignItems={{ default: 'alignItemsCenter' }}
flexWrap={{ default: 'nowrap' }}
style={{ whiteSpace: 'nowrap' }}
className={className}
>
<FlexItem>{icon}</FlexItem>
Expand Down

0 comments on commit d4515f9

Please sign in to comment.