Prevent chat composer clipping

This commit is contained in:
Dorian
2026-05-06 20:26:50 +01:00
parent db92857667
commit d7976c8d14

View File

@@ -238,7 +238,7 @@ async function scrollBottom(): Promise<void> {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr) auto;
gap: 12px;
padding: 16px;
padding: 16px 16px 28px;
background: rgba(7, 9, 15, 0.97);
border-left: 1px solid var(--line-bright);
box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
@@ -376,7 +376,9 @@ p.sticker.gif {
gap: 8px;
align-items: start;
padding-top: 10px;
padding-bottom: 2px;
border-top: 1px solid var(--line);
background: rgba(7, 9, 15, 0.97);
}
.composer-tools {
min-width: 0;
@@ -484,9 +486,9 @@ textarea {
top: auto;
bottom: 0;
width: 100vw;
height: 100dvh;
height: 100svh;
max-height: none;
padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
padding: 14px 14px calc(72px + env(safe-area-inset-bottom));
transform: translateY(105%);
border-left: 0;
border-top: 1px solid var(--line-bright);