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