Skip to content

Commit fd2137d

Browse files
author
Hector Arce De Las Heras
committed
Button Styling Update: No Wrap
This commit updates the button styling to include 'white-space: nowrap'. This ensures the button text will not wrap to a new line, improving the visual consistency of buttons across the application.
1 parent ca5d16c commit fd2137d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/button/button.styled.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ 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;
5758
5859
${({ $state, $styles, $sizeStyles }) => setTokens($state, $styles, $sizeStyles)}
5960

0 commit comments

Comments
 (0)