фик кнопок урпавления профилем
This commit is contained in:
parent
cc1e292ad3
commit
673823686d
@ -52,8 +52,7 @@
|
||||
<div class="profile-card">
|
||||
<!-- Avatar Section -->
|
||||
<div class="avatar-section">
|
||||
<div class="avatar-container">
|
||||
<img
|
||||
<div class="avatar-container"> <img
|
||||
v-if="mainPhoto"
|
||||
:src="mainPhoto.url"
|
||||
:alt="profileData.name"
|
||||
@ -145,8 +144,7 @@
|
||||
class="photo-item"
|
||||
:class="{ 'main-photo': photo.isProfilePhoto }"
|
||||
>
|
||||
<img :src="photo.url" :alt="'Фото ' + profileData.name" class="photo-image">
|
||||
<div v-if="photo.isProfilePhoto" class="main-badge">
|
||||
<img :src="photo.url" :alt="'Фото ' + profileData.name" class="photo-image"> <div v-if="photo.isProfilePhoto" class="main-badge">
|
||||
<i class="bi-star-fill"></i>
|
||||
Главное
|
||||
</div>
|
||||
@ -778,8 +776,9 @@ onMounted(async () => {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
opacity: 1;
|
||||
transition: opacity 0.3s ease;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.avatar-container:hover .avatar-overlay {
|
||||
@ -1002,6 +1001,8 @@ onMounted(async () => {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
padding: 0.5rem;
|
||||
border-radius: 10px;
|
||||
z-index: 10;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.photo-item:hover .photo-actions {
|
||||
|
Loading…
x
Reference in New Issue
Block a user