Skip to content

Commit e2a5180

Browse files
authored
1 parent 01032cb commit e2a5180

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/app/src/app/components/Preview/DevTools/Terminal/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,7 @@ class TerminalComponent extends React.Component<Props, State> {
177177
const { height, hidden } = this.props;
178178

179179
return (
180-
<div
181-
className={!hidden ? 'terminal' : undefined}
182-
ref={this.setupResizeObserver}
183-
>
180+
<div className={!hidden && 'terminal'} ref={this.setupResizeObserver}>
184181
{!hidden && this.state.shells.length > 0 && (
185182
<ShellTabs
186183
selectedShell={this.state.selectedShell}
@@ -190,7 +187,7 @@ class TerminalComponent extends React.Component<Props, State> {
190187
/>
191188
)}
192189

193-
<div style={{ flex: 1, position: 'relative' }}>
190+
<div style={{ position: 'relative' }}>
194191
<div
195192
style={{
196193
position: 'absolute',

packages/app/src/app/components/Preview/DevTools/Terminal/styles.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,4 @@
162162
.terminal {
163163
height: 100%;
164164
width: 100%;
165-
display: flex;
166165
}

0 commit comments

Comments
 (0)