Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
This commit is contained in:
commit
ffca4261d7
1 file changed
+4
-3
@@ -108,8 +108,9 @@ function readCollapsedPreference(): boolean {
|
|||||||
* content area, and pass the inset via `className` (e.g. `top-16 bottom-48
|
* content area, and pass the inset via `className` (e.g. `top-16 bottom-48
|
||||||
* left-0 right-0`). The component measures its own width: when the side gutter
|
* left-0 right-0`). The component measures its own width: when the side gutter
|
||||||
* next to the centered message column is wide enough it floats an expandable
|
* next to the centered message column is wide enough it floats an expandable
|
||||||
* panel there; on narrower viewports it degrades to a small pill button that
|
* panel there, vertically centered in the available chat area; on narrower
|
||||||
* opens a right-side drawer, so it never covers the chat body or input box.
|
* viewports it degrades to a small pill button that opens a right-side drawer,
|
||||||
|
* so it never covers the chat body or input box.
|
||||||
*/
|
*/
|
||||||
export function QuestionNavigator({
|
export function QuestionNavigator({
|
||||||
messages,
|
messages,
|
||||||
@@ -240,7 +241,7 @@ export function QuestionNavigator({
|
|||||||
ref={rootRef}
|
ref={rootRef}
|
||||||
className={cn("pointer-events-none absolute z-20", className)}
|
className={cn("pointer-events-none absolute z-20", className)}
|
||||||
>
|
>
|
||||||
<div className="absolute inset-y-0 right-3 flex items-start justify-end">
|
<div className="absolute inset-y-0 right-3 flex items-center justify-end">
|
||||||
{panelFits ? (
|
{panelFits ? (
|
||||||
collapsed ? (
|
collapsed ? (
|
||||||
pillButton("展开问题导航", toggleCollapsed)
|
pillButton("展开问题导航", toggleCollapsed)
|
||||||
|
|||||||
Reference in new issue
Block a user