Skip to content

Commit

Permalink
resizes profile picture and play button
Browse files Browse the repository at this point in the history
  • Loading branch information
synan798 committed Dec 4, 2024
1 parent 1fec8f3 commit 7d30789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/home/Users/UserBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

<template>
<div :class="['bg-blue-600', props.userTurn ? 'flex items-center h-30 w-full rounded-3xl p-3' : 'flex flex-col items-center justify-center h-30 w-full rounded-3xl p-3']">
<img :class="['rounded-full w-12 h-12 sm:w-16 sm:h-16 md:w-20 md:h-20 lg:w-24 lg:h-24', props.userTurn ? 'mr-3' : 'mb-2']" :src="props.profilePicture" :alt="name">
<img :class="['rounded-full w-12 h-12 sm:w-16 sm:h-16 md:w-16 md:h-16 lg:w-16 lg:h-16', props.userTurn ? 'mr-3' : 'mb-2']" :src="props.profilePicture" :alt="name">
<p class="text-white">{{ props.name }}</p>
<button v-if="props.userTurn" class="ml-auto p-2 sm:p-3 md:p-4 lg:p-5" @click="console.log(props.name)">
<NuxtImg src="icons/playButton.svg" alt="Play" class="w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 lg:w-14 lg:h-14"/>
<NuxtImg src="icons/playButton.svg" alt="Play" class="w-12 h-12 sm:w-16 sm:h-16 md:w-16 md:h-16 lg:w-16 lg:h-16 hover:bg-black"/>

This comment has been minimized.

Copy link
@synan798

synan798 Dec 4, 2024

Author Contributor

Remove hover effect

</button>
</div>
</template>

0 comments on commit 7d30789

Please sign in to comment.