Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Apr 30, 2020
1 parent 0be2eab commit 5e74147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@
:max="3"
show-count
:user-ids="viewerIds"
:style="styles.rest"
/>
</div>
</template>

<script lang="ts">
import {
defineComponent,
reactive,
PropType,
computed
} from '@vue/composition-api'
import { defineComponent, reactive, PropType } from '@vue/composition-api'
import { makeStyles } from '@/lib/styles'
import Icon from '@/components/UI/Icon.vue'
import UserIconEllipsisList from '@/components/UI/UserIconEllipsisList.vue'
Expand All @@ -50,11 +46,9 @@ export default defineComponent({
const open = () => {
context.emit('open')
}
const viewersRest = computed(() => props.viewerIds.length - 3)
return {
styles,
open,
viewersRest
open
}
}
})
Expand All @@ -74,9 +68,4 @@ export default defineComponent({
margin-top: 16px;
cursor: pointer;
}
.rest {
user-select: none;
font-weight: bold;
}
</style>
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 5e74147

Please sign in to comment.