mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	re-add small chips in feature-list
This commit is contained in:
		
							parent
							
								
									2c69096af8
								
							
						
					
					
						commit
						2d0fb8fe02
					
				@ -1,6 +1,6 @@
 | 
			
		||||
import React, { PropTypes } from 'react';
 | 
			
		||||
import { Link } from 'react-router';
 | 
			
		||||
import { Chip, Switch, Icon } from 'react-mdl';
 | 
			
		||||
import { Switch, Icon } from 'react-mdl';
 | 
			
		||||
import Progress from './progress';
 | 
			
		||||
import { shorten, calc, styles as commonStyles } from '../common';
 | 
			
		||||
 | 
			
		||||
@ -48,9 +48,9 @@ const Feature = ({
 | 
			
		||||
                </Link>
 | 
			
		||||
            </span>
 | 
			
		||||
            <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}
 | 
			
		||||
                </Chip>)}
 | 
			
		||||
                </span>)}
 | 
			
		||||
            </span>
 | 
			
		||||
        </li>
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
@ -34,6 +34,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