Rework css on room view to avoid losing input visibility

This commit is contained in:
Jon Staab
2025-03-03 17:46:15 -08:00
parent db203bf00d
commit 3a42a1b560
4 changed files with 123 additions and 82 deletions
+24
View File
@@ -329,3 +329,27 @@ emoji-picker {
progress[value]::-webkit-progress-value {
transition: width 0.5s;
}
/* content width for fixed elements */
.cw {
@apply w-full md:w-[calc(100%-18.5rem)];
}
/* chat view */
.chat__page-bar {
@apply cw !fixed top-0;
}
.chat__messages {
@apply cw fixed top-12 flex h-[calc(100%-10rem)] flex-col-reverse overflow-y-auto overflow-x-hidden md:h-[calc(100%-6rem)];
}
.chat__compose {
@apply cw fixed bottom-14 md:bottom-0;
}
.chat__scroll-down {
@apply fixed bottom-28 right-4 md:bottom-16;
}