mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
commit
7d72a8416d
@ -1,6 +1,6 @@
|
||||
import React, { PropTypes } from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { Chip, Switch, Icon, IconButton } from 'react-mdl';
|
||||
import { Switch, Icon, IconButton } from 'react-mdl';
|
||||
import Progress from './progress';
|
||||
import { shorten, calc } from '../common';
|
||||
|
||||
@ -54,9 +54,9 @@ const Feature = ({
|
||||
</Link>
|
||||
</span>
|
||||
<span className="mdl-list__item-secondary-action">
|
||||
{strategies && strategies.map((s, i) => <Chip className={[style.iconListItemChip, style.hideLt960].join(' ')} key={i}>
|
||||
<small>{s.name}</small>
|
||||
</Chip>)}
|
||||
{strategies && strategies.map((s, i) => <span className={[style.iconListItemChip, style.hideLt960].join(' ')} key={i}>
|
||||
{s.name}
|
||||
</span>)}
|
||||
</span>
|
||||
<span className="mdl-list__item-secondary-action">
|
||||
<IconButton name="delete" onClick={removeToggle} className={style.iconListItem} />
|
||||
|
@ -33,6 +33,11 @@
|
||||
}
|
||||
|
||||
.iconListItemChip {
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
background-color: #e0e0e0;
|
||||
border-radius: 10px;
|
||||
padding: 5px 8px 4px 8px;
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user