Skip to content

Commit a98dda4

Browse files
committed
improved console formatting
1 parent f4e58c7 commit a98dda4

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

app/dist/dist/css/factorio-server-manager.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ div.console-container {
1717
width: 100%;
1818
max-width: 100%;
1919
box-sizing: border-box;
20-
height: 20em;
20+
height: 100vh;
2121
background: #efefef;
2222
padding: 0.5em;
2323
overflow: auto;

ui/App/components/ConsoleContent.jsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,16 @@ class ConsoleContent extends React.Component {
8888
</section>
8989

9090
<section className="content">
91-
92-
<div id='console-output' className='console-container' onClick={this.handleClick} ref="output">
93-
{output}
94-
</div>
95-
<p>
96-
<span className="console-prompt-box">{this.state.prompt}
97-
<input type="text" onKeyPress={this.handleInput} ref="term" /></span>
98-
</p>
91+
<div className="console-box" >
92+
<div id='console-output' className='console-container' onClick={this.handleClick} ref="output">
93+
{output}
94+
</div>
95+
<p>
96+
<span className="console-prompt-box">{this.state.prompt}
97+
<input type="text" onKeyPress={this.handleInput} ref="term" /></span>
98+
</p>
9999

100+
</div>
100101
</section>
101102
</div>
102103
);

0 commit comments

Comments
 (0)