фикс поля ввода сообщения

This commit is contained in:
Professional 2025-05-23 20:20:01 +07:00
parent 505a4ddfa7
commit d229e3d0ea

View File

@ -815,6 +815,7 @@ const handleClickOutsideContextMenu = (event) => {
position: relative; position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding-bottom: calc(70px + var(--nav-height, 60px)); /* Добавляем отступ внизу для поля ввода и навигационной панели */
} }
/* Состояния загрузки и ошибки */ /* Состояния загрузки и ошибки */
@ -1065,9 +1066,11 @@ const handleClickOutsideContextMenu = (event) => {
background: white; background: white;
border-top: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.8rem 1rem; padding: 0.8rem 1rem;
position: sticky; position: fixed; /* Меняем со sticky на fixed для надежной фиксации */
bottom: 0; bottom: 0;
z-index: 10; left: 0;
right: 0;
z-index: 100; /* Увеличиваем z-index, чтобы блок был над всеми элементами */
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
width: 100%; width: 100%;