diff --git a/app/components/version-list/row.hbs b/app/components/version-list/row.hbs index d6391d23586..e6630036423 100644 --- a/app/components/version-list/row.hbs +++ b/app/components/version-list/row.hbs @@ -98,12 +98,17 @@ diff --git a/app/components/version-list/row.js b/app/components/version-list/row.js index 8c7242fdd6c..e52d7b4181c 100644 --- a/app/components/version-list/row.js +++ b/app/components/version-list/row.js @@ -49,6 +49,13 @@ export default class VersionRow extends Component { return this.args.version.crate.hasOwnerUser(userId); } + get features() { + let features = this.args.version.featureList; + let list = features.slice(0, 15); + let more = features.length - list.length; + return { list, more }; + } + @action setFocused(value) { this.focused = value; } diff --git a/app/components/version-list/row.module.css b/app/components/version-list/row.module.css index bf81d4d2b8b..c4eed5f5b48 100644 --- a/app/components/version-list/row.module.css +++ b/app/components/version-list/row.module.css @@ -230,6 +230,11 @@ } } +.other-features { + font-style: italic; + margin-top: var(--space-2xs); +} + .yank-button { position: relative; margin-left: var(--space-xs);