Skip to content

Commit 906e217

Browse files
xycCompuIves
authored andcommitted
Fix: Limit the height of multiline input to Console Container's height (codesandbox#466)
* limit the height of multiline input to Console Container's height * trigger ci
1 parent 1a356fc commit 906e217

File tree

1 file changed

+1
-0
lines changed
  • packages/app/src/app/components/sandbox/Preview/DevTools/Console

1 file changed

+1
-0
lines changed

packages/app/src/app/components/sandbox/Preview/DevTools/Console/Input.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const Container = styled.div`
2222
position: relative;
2323
height: ${props => props.height}px;
2424
min-height: 2rem;
25+
max-height: 100%;
2526
width: 100%;
2627
background-color: ${props => props.theme.background.darken(0.3)};
2728
display: flex;

0 commit comments

Comments
 (0)