Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dartcafe committed Mar 1, 2019
1 parent 2763c27 commit ebe86f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
21 changes: 4 additions & 17 deletions src/js/components/pollListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<div v-else class="wrapper table-row table-body group-master">
<div class="wrapper group-1">
<div class="thumbnail" :class="[poll.event.type, {expired : poll.event.expired}]" v-tooltip="pollType">
<div v-tooltip="pollType" class="thumbnail" :class="[poll.event.type, {expired : poll.event.expired}]">
{{ pollType }}
</div>
<div v-if="votedBycurrentUser" class="symbol icon-voted" />
Expand All @@ -66,7 +66,7 @@
{{ poll.event.description }}
</div>
</a>
<div v-if="countComments" class="app-navigation-entry-utils-counter highlighted" v-tooltip="countCommentsHint">
<div v-if="countComments" v-tooltip="countCommentsHint" class="app-navigation-entry-utils-counter highlighted">
<span>{{ countComments }}</span>
</div>
<div class="actions">
Expand All @@ -80,7 +80,7 @@
</div>
<div class="wrapper group-2">
<div class="wrapper group-2-1">
<div class="thumbnail access" :class="poll.event.access" v-tooltip="accessType">
<div v-tooltip="accessType" class="thumbnail access" :class="poll.event.access">
{{ accessType }}
</div>
</div>
Expand Down Expand Up @@ -170,7 +170,7 @@ export default {
return this.poll.comments.length
},
countCommentsHint() {
return n('polls', 'There is %n comment','There are %n comments', this.poll.comments.length)
return n('polls', 'There is %n comment', 'There are %n comments', this.poll.comments.length)
},
countShares() {
return this.poll.shares.length
Expand Down Expand Up @@ -299,8 +299,6 @@ $mediabreak-1: ($group-1-width + $owner-width + $access-width + $date-width + $d
$mediabreak-2: ($group-1-width + $group-2-width + $row-padding * 2);
$mediabreak-3: $group-1-width + $owner-width + max($group-2-1-width, $group-2-2-width) + $row-padding *2 ;
.table-row {
width: 100%;
padding-left: $row-padding;
Expand Down Expand Up @@ -345,7 +343,6 @@ $mediabreak-3: $group-1-width + $owner-width + max($group-2-1-width, $group-2-2-
}
}
.wrapper {
display: flex;
align-items: center;
Expand Down Expand Up @@ -395,7 +392,6 @@ $mediabreak-3: $group-1-width + $owner-width + max($group-2-1-width, $group-2-2-
}
}
.group-1, .group-1-1 {
flex-grow: 1;
}
Expand Down Expand Up @@ -440,15 +436,6 @@ $mediabreak-3: $group-1-width + $owner-width + max($group-2-1-width, $group-2-2-
}
}
.thumbnail {
width: 44px;
height: 44px;
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default {
name: 'List',
components: {
pollListItem,
pollListItem
},
data() {
Expand Down

0 comments on commit ebe86f5

Please sign in to comment.