diff --git a/src/components/ItemView.vue b/src/components/ItemView.vue index d9d889a..c53e3cc 100644 --- a/src/components/ItemView.vue +++ b/src/components/ItemView.vue @@ -1,6 +1,7 @@ @@ -50,6 +51,16 @@ export default { : null })) } + }, + + computed: { + isJob () { + return this.item.type === 'job' + }, + + hasText () { + return this.item.hasOwnProperty('text') + } } } @@ -73,4 +84,10 @@ export default { .subtext color $gray font-size 11px + .itemtext + color $gray + margin-top 0 + margin-bottom 30px + .itemtext p + margin 10px 0