From b6c69b1e27e21ca9a3a73879851e392ed54ae338 Mon Sep 17 00:00:00 2001 From: Professional Date: Fri, 23 May 2025 16:22:24 +0700 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D1=84=D0=BE=D0=BD?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ChatListView.vue | 2 ++ src/views/ChatView.vue | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/ChatListView.vue b/src/views/ChatListView.vue index 9a87eac..2871bcb 100644 --- a/src/views/ChatListView.vue +++ b/src/views/ChatListView.vue @@ -390,6 +390,8 @@ const getDialogsCountText = (count) => { .modern-chatlist-view { min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + background-attachment: fixed; /* Фиксирует фон для растяжения на весь экран */ + background-size: cover; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; diff --git a/src/views/ChatView.vue b/src/views/ChatView.vue index 6aeb2d5..6df9c60 100644 --- a/src/views/ChatView.vue +++ b/src/views/ChatView.vue @@ -695,6 +695,8 @@ const handleClickOutsideContextMenu = (event) => { .modern-chat-view { min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + background-attachment: fixed; /* Фиксирует фон для растяжения на весь экран */ + background-size: cover; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; @@ -713,7 +715,7 @@ const handleClickOutsideContextMenu = (event) => { /* Header Section */ .chat-header { - background: rgba(255, 255, 255, 0.1); + background: rgba(33, 33, 60, 0.8); /* Более темный, менее прозрачный фон */ backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 1rem 0; @@ -792,6 +794,8 @@ const handleClickOutsideContextMenu = (event) => { margin: 0; font-size: 1.2rem; font-weight: 600; + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Добавлена тень для лучшей видимости текста */ + color: #ffffff; /* Гарантирует белый цвет текста */ } .typing-status { @@ -942,6 +946,8 @@ const handleClickOutsideContextMenu = (event) => { flex-direction: column; height: calc(100vh - 140px); position: relative; + margin: 0 auto; /* Центрировать карточку */ + width: 100%; /* Ширина 100% в контейнере */ } /* Messages Container */