Skip to content

Commit

Permalink
fix(MembersListItem): Adjustments to ListItemIcon properties
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Aug 5, 2024
1 parent eda53a5 commit 5bb226f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/MembersList/MembersListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

<ListItemIcon v-else
:id="source.singleId"
:key="source.singleId"
:avatar-size="44"
:avatar-size="avatarSize"
:display-name="source.displayName"
:icon-class="source.isUser ? null : 'icon-group-white'"
:is-no-user="!source.isUser"
:subname="levelName"
:name="source.displayName"
:user="source.userId"
class="members-list__item">
<!-- Accept invite -->
<template v-if="!loading && isPendingApproval && circle.canManageMembers">
Expand Down Expand Up @@ -244,6 +244,10 @@ export default {
&& this.source.level <= this.currentUserLevel
&& !this.isCurrentUser
},

avatarSize() {
return parseInt(window.getComputedStyle(document.body).getPropertyValue('--default-clickable-area'))
},
},
methods: {
/**
Expand Down

0 comments on commit 5bb226f

Please sign in to comment.