fixes: Strange scroll behavior on long collection descriptions

closes #1391
This commit is contained in:
Tom Moor
2020-08-10 16:23:55 -07:00
parent 48b61559cc
commit 5ddc4000d0

View File

@ -78,6 +78,7 @@ class InputRich extends React.Component<Props> {
} }
const StyledOutline = styled(Outline)` const StyledOutline = styled(Outline)`
display: block;
padding: 8px 12px; padding: 8px 12px;
min-height: ${({ minHeight }) => (minHeight ? `${minHeight}px` : "0")}; min-height: ${({ minHeight }) => (minHeight ? `${minHeight}px` : "0")};
max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : "auto")}; max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : "auto")};