Remove Card completely

This commit is contained in:
Jaco Greeff 2017-05-09 14:04:58 +02:00
parent c37c579585
commit 36b437270b

View File

@ -16,7 +16,6 @@
import React, { Component, PropTypes } from 'react'; import React, { Component, PropTypes } from 'react';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { Card } from 'semantic-ui-react';
import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes';
@ -50,7 +49,7 @@ export default class Container extends Component {
} }
const card = ( const card = (
<Card <div
className={ className={
compact compact
? styles.compact ? styles.compact
@ -58,11 +57,10 @@ export default class Container extends Component {
} }
onClick={ onClick } onClick={ onClick }
onFocus={ onFocus } onFocus={ onFocus }
fluid
> >
{ this.renderTitle() } { this.renderTitle() }
{ children } { children }
</Card> </div>
); );
return ( return (
@ -127,9 +125,9 @@ export default class Container extends Component {
} }
return ( return (
<Card className={ styles.hoverOverlay }> <div className={ styles.hoverOverlay }>
{ hover } { hover }
</Card> </div>
); );
} }