/
anv
/
hackathon
Обзор
Документация
Войти
/
anv
/
hackathon
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/components/PromptForm/PromptForm.module.scss
99 строк
2 KB
pavelpostnikov
Merge branch 'master' of https://gitverse.ru/anv/hackathon
25 мар 2025, 05:45
25 мар 2025, 05:45
0187090
Код
Авторство
О чём код?
.alert { position: absolute; top: 40px; transition: opacity 0.2s ease-in-out; } .container { display: flex; flex-direction: column; height: 100%; position: relative; width: 100vh; .block { display: flex; flex-direction: column; flex-grow: 1; margin-bottom: 20px; padding-bottom: 70px; &:last-child { margin-bottom: 0; } } .title { margin-bottom: 12px; font-size: 18px; line-height: 22px; } .chatArea { flex-grow: 1; overflow-y: auto; padding: 10px; border-radius: 8px; margin-bottom: 10px; display: flex; flex-direction: column-reverse; z-index: 10; } .messages { display: flex; flex-direction: column; font-size: 14px; gap: 20px; } .userMessageWrapper { display: flex; width: 100%; justify-content: end; .icon { margin-top: 5px; opacity: 0.7; transition: opacity 0.2s ease-in-out; &:hover { opacity: 1; } } } .userMessage { position: relative; align-self: flex-end; border-radius: 10px; padding: 10px; margin: 5px; max-width: 600px; word-wrap: break-word; background-color: rgba(11, 192, 220, 0.3); } } .inputs { width: 100%; display: flex; flex-direction: column; gap: 8px; } .inputArea { border-radius: 10px; background-color: #676767; margin-top: auto; padding: 10px; display: flex; flex-direction: row; gap: 10px; align-items: flex-end; position: fixed; bottom: 0; z-index: 100; margin-bottom: 10px; width: 100vh; }