styles for firefox were fixed
This commit is contained in:
parent
2a80673ba4
commit
da59d33308
@ -207,7 +207,6 @@ Textarea.propTypes = {
|
||||
};
|
||||
|
||||
Textarea.defaultProps = {
|
||||
className: "",
|
||||
isDisabled: false,
|
||||
isReadOnly: false,
|
||||
hasError: false,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user