Skip to content

Commit

Permalink
Merge pull request #575 from traPtitech/feat/viewers-cound
Browse files Browse the repository at this point in the history
add viewers count
  • Loading branch information
sapphi-red authored Apr 30, 2020
2 parents 52f2ba8 + 5e74147 commit 2d8c0c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
<user-icon-ellipsis-list
direction="col"
:max="3"
:show-count="false"
show-count
:user-ids="viewerIds"
:style="styles.rest"
/>
</div>
</template>
Expand All @@ -28,6 +29,9 @@ const useStyles = () =>
reactive({
container: makeStyles(theme => ({
color: theme.ui.primary
})),
rest: makeStyles(theme => ({
color: theme.ui.secondary
}))
})
Expand Down
1 change: 1 addition & 0 deletions src/components/UI/UserIconEllipsisList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ $countSize: 1.15rem;
.count {
font-weight: bold;
user-select: none;
}
</style>

0 comments on commit 2d8c0c7

Please sign in to comment.