Removing Extra spaces from Button

This commit is contained in:
carljbowman 2015-09-21 12:25:50 -04:00
parent d3ebcd6744
commit f5351b651a
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ module.exports = React.createClass({
var classes = classNames(
'button',
this.props.className
);
);
return (
<button {... this.props} className={classes} >{this.props.children}</button>
);

View file

@ -1,5 +1,5 @@
.button {
display: inline-block;
display: inline-block;
font-size: .8rem;
padding: .75em 1em;
margin: .5em 0;
@ -9,7 +9,7 @@
border-radius: 5px;
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
cursor: pointer;
border: none;
border: none;
&.white {
background-color: white;