styles for firefox were fixed

This commit is contained in:
Vladimir Khvan 2023-07-06 00:08:41 +05:00
parent 2a80673ba4
commit da59d33308
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,6 @@ Textarea.propTypes = {
};
Textarea.defaultProps = {
className: "",
isDisabled: false,
isReadOnly: false,
hasError: false,

View File

@ -68,7 +68,8 @@ const StyledTextarea = styled(ClearTextareaAutosize).attrs(
})
)`
${commonInputStyle};
white-space: ${(props) => (props.isJSONField ? "pre" : "normal")};
white-space: ${(props) => (props.isJSONField ? "pre" : "pre-line")};
width: 100%;
display: table;
width: -webkit-fill-available;