fix: issue 3030 HelpText layout (#3034)

* fix helptext layout

* remove unnecessary css property - word-break

Co-authored-by: Louis Phan <louisphan@notreallouisss.local>
This commit is contained in:
Louis Phan
2022-02-02 09:36:40 +09:00
committed by GitHub
parent 2d1c9c1a93
commit 516e2f1b6e

View File

@@ -4,6 +4,7 @@ const HelpText = styled.p<{ small?: boolean }>`
margin-top: 0;
color: ${(props) => props.theme.textSecondary};
font-size: ${(props) => (props.small ? "14px" : "inherit")};
white-space: normal;
`;
export default HelpText;