Commit ed9714b0 authored by Kantz's avatar Kantz
Browse files

anpassung der Quellengröße

parent b667cf1d
...@@ -123,8 +123,8 @@ export default function DocPanel({ ...@@ -123,8 +123,8 @@ export default function DocPanel({
{!isLoading && !error && total === 0 ? ( {!isLoading && !error && total === 0 ? (
<div className="retrieval-state">{t("noResultsYet")}</div> <div className="retrieval-state">{t("noResultsYet")}</div>
) : null} ) : null}
{renderGroup(t("directChildren"), directChildren, onCiteDoc, onInspectDoc)}
{renderGroup(t("taskChildren"), taskChildren, onCiteDoc, onInspectDoc)} {renderGroup(t("taskChildren"), taskChildren, onCiteDoc, onInspectDoc)}
{renderGroup(t("directChildren"), directChildren, onCiteDoc, onInspectDoc)}
{renderGroup(t("indirectChildren"), indirectChildren, onCiteDoc, onInspectDoc)} {renderGroup(t("indirectChildren"), indirectChildren, onCiteDoc, onInspectDoc)}
{renderGroup(t("subsectionSummary"), subsections, onCiteDoc, onInspectDoc)} {renderGroup(t("subsectionSummary"), subsections, onCiteDoc, onInspectDoc)}
{renderGroup(t("sectionSummary"), sections, onCiteDoc, onInspectDoc)} {renderGroup(t("sectionSummary"), sections, onCiteDoc, onInspectDoc)}
......
...@@ -694,7 +694,11 @@ export default function ChatPage() { ...@@ -694,7 +694,11 @@ export default function ChatPage() {
) : null} ) : null}
</section> </section>
<aside className="retrieval-column"> <aside
className={`retrieval-column ${
isTaskModeEnabled ? "retrieval-column-task-mode" : ""
}`}
>
{isTaskModeEnabled && selectedTask ? ( {isTaskModeEnabled && selectedTask ? (
<TaskPanel <TaskPanel
readOnly readOnly
......
...@@ -446,6 +446,7 @@ body { ...@@ -446,6 +446,7 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16px; gap: 16px;
min-height: 0;
} }
.retrieval-panel { .retrieval-panel {
...@@ -460,6 +461,16 @@ body { ...@@ -460,6 +461,16 @@ body {
overflow-y: auto; overflow-y: auto;
} }
.retrieval-column-task-mode {
max-height: 85vh;
}
.retrieval-column-task-mode .retrieval-panel {
flex: 1 1 auto;
min-height: 0;
max-height: none;
}
.retrieval-title { .retrieval-title {
font-weight: 600; font-weight: 600;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment