Skip to content

Commit

Permalink
More style nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Jun 2, 2015
1 parent 23dc1c7 commit bcdaa6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ html, body {
border-bottom: 1px solid #ccc;
}

.message:last-child {
border-bottom: none;
}
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ client.on('connect', function() {
var Message = React.createClass({
render: function() {
return (
<div key={this.props.key} className="message row">{this.props.message.payload}</div>
<div key={this.props.key} className="message">{this.props.message.payload}</div>
);
}
});
Expand Down Expand Up @@ -49,7 +49,7 @@ var MessageList = React.createClass({
return (
<div id="messageList" className="table-block footer-push">
<h1>Channel Name</h1>
<div className="messages container">{messageNodes}</div>
<div className="messages">{messageNodes}</div>
</div>
);
}
Expand All @@ -63,7 +63,7 @@ var SendMessage = React.createClass({
<div className="container">
<footer id="footer" className="twelve columns">
<form onSubmit={this.send}>
<input type="text" name="sendMessage" className="u-full-width" placeholder="Say hello" />
<input type="text" name="sendMessage" className="u-full-width" placeholder="Say hello" autoFocus />
</form>
</footer>
</div>
Expand Down

0 comments on commit bcdaa6d

Please sign in to comment.