Skip to content

Commit

Permalink
fix UsersView Component List
Browse files Browse the repository at this point in the history
  • Loading branch information
Likqez committed Dec 7, 2024
1 parent 80da39e commit 52f3994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/UsersView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ const mappedUsers = computed(() => {
:user-turn="viewType === UserViewType.USERTURN"
:class="[
( viewType === UserViewType.FRIENDS || viewType === UserViewType.OPPONENTTURN ) ?
users.length > 3 ? 'w-[calc(33.33%-.98rem)] flex-shrink-0' :
users.length === 3 ? 'w-1/3' :
users.length === 2 ? 'w-1/2' : 'w-full'
: ''
]"
:style="users.length > 3 ? { width: 'calc(33.33% - .98rem)', flexShrink: 0 } : {}"
/>
</div>
</div>
Expand Down

0 comments on commit 52f3994

Please sign in to comment.