Skip to content

Commit

Permalink
Add some style
Browse files Browse the repository at this point in the history
  • Loading branch information
jberrisch committed Apr 27, 2016
1 parent 8b65077 commit 5f35ae1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/views/user.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class UserView extends React.Component {
}

return (
<div>
<div className='userView'>
Users:
{main}
<button onClick={this.add.bind(this)}>Add</button>
Expand Down
2 changes: 1 addition & 1 deletion assets/js/views/userItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UserItem extends React.Component {
this.state = {
email: (this.props.user.email || ''),
password: (this.props.user.password || ''),
publish: (this.props.user.publish || '')
publish: (this.props.user.publish || false)
};
}

Expand Down
8 changes: 8 additions & 0 deletions assets/styles/app.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.userView {
text-align: center;
background-color: #eeeeee;

ul {
list-style: none;
}
}
2 changes: 2 additions & 0 deletions assets/styles/importer.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@
// @import 'pages/signup.less';
//
// etc.

@import 'app.less';

0 comments on commit 5f35ae1

Please sign in to comment.