mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-14 15:33:23 +00:00
fix(ui): fix question dock overflow and message part flex layout (#28142)
This commit is contained in:
parent
7afd477d1a
commit
836a33198e
2 changed files with 4 additions and 2 deletions
|
|
@ -469,7 +469,9 @@ export const SessionQuestionDock: Component<{ request: QuestionRequest; onSubmit
|
|||
</>
|
||||
}
|
||||
>
|
||||
<div data-slot="question-text">{question()?.question}</div>
|
||||
<div data-slot="question-text" class="overflow-auto">
|
||||
{question()?.question}
|
||||
</div>
|
||||
<Show when={multi()} fallback={<div data-slot="question-hint">{language.t("ui.question.singleHint")}</div>}>
|
||||
<div data-slot="question-hint">{language.t("ui.question.multiHint")}</div>
|
||||
</Show>
|
||||
|
|
|
|||
|
|
@ -935,7 +935,7 @@
|
|||
gap: 6px;
|
||||
margin-top: 12px;
|
||||
padding: 1px 1px 8px;
|
||||
flex: 1;
|
||||
flex-shrink: 0;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue