Skip to content

Commit e27f903

Browse files
author
Hector Arce De Las Heras
committed
Remove white-space property from Button component
This commit removes the `white-space: nowrap;` property from the Button component's styles. This change allows the text within the button to wrap when necessary, improving the responsiveness and flexibility of the Button component.
1 parent f037bf5 commit e27f903

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/button/button.styled.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const ButtonStyled = styled.button<IButtonStyled>`
5454
flex-direction: ${props =>
5555
props.$iconPosition === IconPositionType.LEFT ? 'row' : 'row-reverse'};
5656
position: relative;
57-
white-space: nowrap;
5857
5958
${({ $state, $styles, $sizeStyles }) => setTokens($state, $styles, $sizeStyles)}
6059

0 commit comments

Comments
 (0)