fix: position comment panel below trigger button

This commit is contained in:
CREDO23 2026-01-16 16:07:13 +02:00
parent 47de91e07b
commit 0e48df63ff
2 changed files with 2 additions and 2 deletions

View file

@ -116,7 +116,7 @@ export const AssistantMessage: FC = () => {
onClick={() => setIsCommentPanelOpen(!isCommentPanelOpen)} onClick={() => setIsCommentPanelOpen(!isCommentPanelOpen)}
/> />
{isCommentPanelOpen && ( {isCommentPanelOpen && (
<div className="absolute left-full top-0 z-50 ml-2 animate-in fade-in slide-in-from-left-2 duration-200"> <div className="absolute top-full left-0 z-50 mt-2 animate-in fade-in slide-in-from-top-2 duration-200">
<CommentPanelContainer <CommentPanelContainer
messageId={dbMessageId} messageId={dbMessageId}
searchSpaceId={Number(searchSpaceId)} searchSpaceId={Number(searchSpaceId)}

View file

@ -45,7 +45,7 @@ export function CommentPanel({
const showEmptyState = !hasThreads && !isComposerOpen; const showEmptyState = !hasThreads && !isComposerOpen;
return ( return (
<div className="flex w-70 flex-col rounded-lg border bg-card"> <div className="flex w-80 flex-col rounded-lg border bg-card">
{hasThreads && ( {hasThreads && (
<div <div
className="overflow-y-auto" className="overflow-y-auto"