Skip to content

Commit eff74bc

Browse files
authored
fix(components): fix unit text wrap-issue (#16943)
* fix(components): fix unit text wrap-issue
1 parent f764319 commit eff74bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/src/atoms/InputField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ export const InputField = React.forwardRef<HTMLInputElement, InputFieldProps>(
232232
color: ${props.disabled ? COLORS.grey40 : COLORS.grey50};
233233
font: ${TYPOGRAPHY.bodyTextRegular};
234234
text-align: ${TYPOGRAPHY.textAlignRight};
235+
white-space: ${NO_WRAP};
235236
@media ${RESPONSIVENESS.touchscreenMediaQuerySpecs} {
236237
color: ${props.disabled ? COLORS.grey40 : COLORS.grey50};
237238
font-size: ${TYPOGRAPHY.fontSize22};
238239
font-weight: ${TYPOGRAPHY.fontWeightRegular};
239240
line-height: ${TYPOGRAPHY.lineHeight28};
240241
justify-content: ${textAlign};
241-
white-space: ${NO_WRAP};
242242
}
243243
`
244244

0 commit comments

Comments
 (0)