Optimize card style.

This commit is contained in:
Kenshin 2018-06-21 12:05:27 +08:00
parent 9d2bd629be
commit 84172ba195

View File

@ -45,16 +45,18 @@ class Card extends React.Component {
<note>{ this.props.plugin.name }</note>
</card-content>
<card-footer>
<Button type="flat" text="禁用"
style={{minWidth: '48px' }}
color="#6200ee"
waves="md-waves-effect md-waves-button"
onClick={ ()=>this.enable() } />
<Button type="flat" text="删除"
style={{minWidth: '48px'}}
color="#6200ee"
waves="md-waves-effect md-waves-button"
onClick={ ()=>this.delete() } />
<div style={{height: '48px', display: 'flex', 'flex-direction': 'row' }}>
<Button type="flat" text="禁用"
style={{minWidth: '48px'}}
color="#6200ee"
waves="md-waves-effect md-waves-button"
onClick={ ()=>this.enable() } />
<Button type="flat" text="删除"
style={{minWidth: '48px'}}
color="#6200ee"
waves="md-waves-effect md-waves-button"
onClick={ ()=>this.delete() } />
</div>
<div style={{width: '100%', display: 'flex', 'justify-content': 'flex-end'}}>
<Button shape="circle" type="flat"
color="#c3c6c7" hoverColor="rgba( 153, 153, 153, .1)"