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> <html>
<head> <head>
<title>Schala Metainterpreter Web Evaluator</title> <title>Schala Metainterpreter Web Evaluator</title>
<style>
.CodeArea {
display: flex;
flex-direction: row;
}
</style>
</head> </head>
<body> <body>
<div id="main"> <div id="main">

View File

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