Skip to content

Commit 2d8c0c7

Browse files
authored
Merge pull request #575 from traPtitech/feat/viewers-cound
add viewers count
2 parents 52f2ba8 + 5e74147 commit 2d8c0c7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/components/Main/MainView/ChannelSidebar/ChannelSidebarHidden.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
<user-icon-ellipsis-list
1212
direction="col"
1313
:max="3"
14-
:show-count="false"
14+
show-count
1515
:user-ids="viewerIds"
16+
:style="styles.rest"
1617
/>
1718
</div>
1819
</template>
@@ -28,6 +29,9 @@ const useStyles = () =>
2829
reactive({
2930
container: makeStyles(theme => ({
3031
color: theme.ui.primary
32+
})),
33+
rest: makeStyles(theme => ({
34+
color: theme.ui.secondary
3135
}))
3236
})
3337

src/components/UI/UserIconEllipsisList.vue

+1
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,6 @@ $countSize: 1.15rem;
106106
107107
.count {
108108
font-weight: bold;
109+
user-select: none;
109110
}
110111
</style>

0 commit comments

Comments
 (0)