Flex on web input

This commit is contained in:
greg 2017-10-02 00:04:33 -07:00
parent 29d307ff53
commit 9071846df3
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
<html>
<head>
<title>Schala Metainterpreter Web Evaluator</title>
<style>
.CodeArea {
display: flex;
flex-direction: row;
}
</style>
</head>
<body>
<div id="main">

View File

@ -38,7 +38,7 @@ class CodeArea extends React.Component {
}
render() {
return (<div>
return (<div className="CodeArea">
<div className="input">
<textarea value={ this.state.value } onChange={this.handleChange}>
</textarea>