Skip to content

Commit

Permalink
Better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lirenyeo committed Jul 13, 2017
1 parent 40ff76e commit 12a7e31
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/chat_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ export default class ChatForm extends React.Component {
return(
<div className="input-group">
<span className="input-group-btn">
<input placeholder="Name" type="text" className="form-control" style={{width: '80px', textAlign: 'center'}}/>
<input
className="form-control"
type="text"
placeholder="Name"
style={{width: '80px', textAlign: 'center'}} />
</span>
<div className="input-group-addon">says: </div>
<input type="text" className="form-control" />
<input
className="form-control"
type="text" />
<span className="input-group-btn">
<button className="btn btn-default" type="button">Send</button>
</span>
Expand Down

0 comments on commit 12a7e31

Please sign in to comment.