mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
use twoline instead
This commit is contained in:
parent
80bc2806d3
commit
2d13d486fe
@ -31,9 +31,9 @@ const Feature = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li key={name} className="mdl-list__item">
|
<li key={name} className="mdl-list__item mdl-list__item--two-line">
|
||||||
<span className="mdl-list__item-secondary-action">
|
<span className="mdl-list__item-secondary-action">
|
||||||
<div style={{ width: '40px', textAlign: 'center' }}>
|
<div style={{ width: '40px', textAlign: 'center', marginRight: '5px' }}>
|
||||||
{
|
{
|
||||||
isStale ?
|
isStale ?
|
||||||
<Icon
|
<Icon
|
||||||
@ -50,9 +50,10 @@ const Feature = ({
|
|||||||
</span>
|
</span>
|
||||||
<span className="mdl-list__item-primary-content">
|
<span className="mdl-list__item-primary-content">
|
||||||
<Link to={`/features/view/${name}`} className={style.link} style={{ display: 'inline-block', width: '100%' }}>
|
<Link to={`/features/view/${name}`} className={style.link} style={{ display: 'inline-block', width: '100%' }}>
|
||||||
{shorten(name, 50)} <small className={style.hideLt960}>{shorten(description, 30) || ''}</small>
|
{shorten(name, 75)} <small className={[style.hideLt960, 'mdl-list__item-sub-title'].join(' ')}>{shorten(description, 75) || ''}</small>
|
||||||
</Link>
|
</Link>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span className="mdl-list__item-secondary-action">
|
<span className="mdl-list__item-secondary-action">
|
||||||
{strategies && strategies.map((s, i) => <span className={[style.iconListItemChip, style.hideLt960].join(' ')} key={i}>
|
{strategies && strategies.map((s, i) => <span className={[style.iconListItemChip, style.hideLt960].join(' ')} key={i}>
|
||||||
{s.name}
|
{s.name}
|
||||||
|
Loading…
Reference in New Issue
Block a user