Skip to content

Commit

Permalink
Make cards have limited width
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 1, 2015
1 parent a384bb8 commit 3e89883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/_sortable-simple/Card.js
Expand Up @@ -8,7 +8,8 @@ const style = {
border: '1px dashed gray',
backgroundColor: 'white',
padding: '0.5rem',
margin: '0.5rem'
margin: '0.5rem',
maxWidth: '20em'
};

const propTypes = {
Expand Down
2 changes: 0 additions & 2 deletions examples/_sortable-simple/Container.js
Expand Up @@ -8,9 +8,7 @@ import { configureDragDropContext, HTML5Backend } from 'react-dnd';
class Container extends Component {
constructor(props) {
super(props);

this.moveCard = this.moveCard.bind(this);

this.state = {
cards: [{
id: 1,
Expand Down

0 comments on commit 3e89883

Please sign in to comment.