1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

re-add small chips in feature-list

This commit is contained in:
sveisvei 2017-01-06 12:53:53 +01:00
parent 2c69096af8
commit 2d0fb8fe02
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import React, { PropTypes } from 'react'; import React, { PropTypes } from 'react';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { Chip, Switch, Icon } from 'react-mdl'; import { Switch, Icon } from 'react-mdl';
import Progress from './progress'; import Progress from './progress';
import { shorten, calc, styles as commonStyles } from '../common'; import { shorten, calc, styles as commonStyles } from '../common';
@ -48,9 +48,9 @@ const Feature = ({
</Link> </Link>
</span> </span>
<span className={commonStyles.hideLt960}> <span className={commonStyles.hideLt960}>
{strategies && strategies.map((s, i) => <Chip className={styles.iconListItemChip} key={i}> {strategies && strategies.map((s, i) => <span className={[styles.iconListItemChip, styles.hideLt960].join(' ')} key={i}>
{s.name} {s.name}
</Chip>)} </span>)}
</span> </span>
</li> </li>
); );

View File

@ -34,6 +34,11 @@
} }
.iconListItemChip { .iconListItemChip {
font-size: 10px;
line-height: 12px;
background-color: #e0e0e0;
border-radius: 10px;
padding: 5px 8px 4px 8px;
margin-left: 5px !important; margin-left: 5px !important;
} }