fix(ui): expand prompt via rows, keep placeholder padding

This commit is contained in:
Shantur Rathore
2026-01-14 21:28:04 +00:00
parent 3ab14e8de6
commit aabaadbe1d
2 changed files with 21 additions and 61 deletions

View File

@@ -1,4 +1,3 @@
/* Prompt input & attachment styles */
.prompt-input-container {
@apply flex flex-col border-t;
border-color: var(--border-base);
@@ -27,12 +26,10 @@
flex: 1 1 auto;
height: 100%;
min-width: 0;
transition: height 0.25s ease;
}
.prompt-input-field {
position: absolute;
inset: 0;
position: relative;
width: 100%;
height: 100%;
}
@@ -50,6 +47,19 @@
min-height: 100%;
}
.prompt-input-field-container.is-expanded {
height: auto;
}
.prompt-input-field.is-expanded {
height: auto;
}
.prompt-input.is-expanded {
height: auto;
min-height: 0;
overflow-y: auto;
}
.prompt-input-overlay {
position: absolute;
@@ -218,7 +228,6 @@
height: 1rem;
}
.hint {
@apply text-xs;
color: var(--text-muted);
@@ -306,4 +315,4 @@
gap: 0;
padding: 0;
}
}
}