feat(FN-4514): complete Step 3 — add quick chat textarea autosize CSS contract
Fusion-Task-Id: FN-4514 Fusion-Task-Lineage: 5910815a-9d67-4312-97d4-44d65d01dbc7
This commit is contained in:
@@ -564,7 +564,7 @@
|
||||
|
||||
.quick-chat-input-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-end;
|
||||
gap: var(--space-sm);
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -639,14 +639,25 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.quick-chat-panel-input input {
|
||||
.quick-chat-textarea {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 40px;
|
||||
max-height: 320px;
|
||||
border-radius: var(--radius-sm);
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
padding: var(--space-sm);
|
||||
resize: none;
|
||||
overflow-y: auto;
|
||||
font: inherit;
|
||||
line-height: 1.45;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.quick-chat-textarea:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Keep the attachment trigger compact inside the input wrapper so the composer
|
||||
@@ -800,6 +811,11 @@
|
||||
padding-bottom: calc(var(--space-sm) + var(--space-xs));
|
||||
}
|
||||
|
||||
.quick-chat-textarea {
|
||||
min-height: 40px;
|
||||
max-height: 320px;
|
||||
}
|
||||
|
||||
.quick-chat-attachment-previews {
|
||||
padding: var(--space-sm) max(var(--space-md), env(safe-area-inset-left, 0px));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user