1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Merge pull request #35 from Unleash/small-chips

small chips
This commit is contained in:
Sveinung Røsaker 2017-01-02 10:00:30 +01:00 committed by GitHub
commit 7d72a8416d
2 changed files with 9 additions and 4 deletions

View File

@ -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} />

View File

@ -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;
}