фикс фона

This commit is contained in:
Professional 2025-05-23 16:22:24 +07:00
parent 53910937cf
commit b6c69b1e27
2 changed files with 9 additions and 1 deletions

View File

@ -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;

View File

@ -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 */