diff --git a/src/views/ProfileView.vue b/src/views/ProfileView.vue
index a3b0ca8..933505e 100644
--- a/src/views/ProfileView.vue
+++ b/src/views/ProfileView.vue
@@ -26,6 +26,17 @@
@@ -1392,6 +1390,47 @@ onUnmounted(() => {
padding: 1.25rem;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(255, 255, 255, 0.2);
+ position: relative; /* Добавлено для позиционирования кнопки редактирования */
+}
+
+/* Стили для кнопки редактирования в правом верхнем углу */
+.edit-profile-btn {
+ position: absolute;
+ top: 1rem;
+ right: 1rem;
+ width: 36px;
+ height: 36px;
+ border-radius: 50%;
+ background: linear-gradient(45deg, #667eea, #764ba2);
+ border: none;
+ color: white;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ z-index: 5;
+ transition: all 0.3s ease;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
+}
+
+.edit-profile-btn i {
+ font-size: 1rem;
+}
+
+.edit-profile-btn:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
+}
+
+.edit-profile-btn:active {
+ transform: translateY(0px);
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
+}
+
+.edit-profile-btn:disabled {
+ opacity: 0.6;
+ cursor: not-allowed;
+ transform: none;
}
.profile-header-content {
@@ -1506,10 +1545,8 @@ onUnmounted(() => {
color: #6c757d;
margin: 0;
line-height: 1.2;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 100%; /* заставляем почту занимать всю доступную ширину */
+ width: 100%; /* оставляем эту ширину, чтобы почта занимала всю доступную ширину */
+ word-break: break-word; /* добавляем перенос слов, если почта очень длинная */
}
.user-badges {