Skip to content

Commit a926dd2

Browse files
Merge pull request #4195 from Agenta-AI/fix/annotation-style-action
fix: annotation queue page responsivness
2 parents 6650fe0 + b580001 commit a926dd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • web/packages/agenta-annotation-ui/src/components/AnnotationSession

web/packages/agenta-annotation-ui/src/components/AnnotationSession/FocusView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const FocusView = memo(function FocusView({
273273
<div className="flex flex-col flex-1 min-h-0">
274274
{/* Main content area */}
275275
<div className="flex-1 bg-[#f5f7fa] p-2 overflow-hidden min-h-0 flex flex-col">
276-
<div className="flex h-full gap-4 overflow-hidden min-h-0">
276+
<div className="flex flex-col md:flex-row h-full gap-4 overflow-hidden min-h-0">
277277
{/* Scenario content */}
278278
<div className="flex-1 flex flex-col min-w-0 overflow-y-auto">
279279
<ScenarioContent
@@ -285,7 +285,7 @@ const FocusView = memo(function FocusView({
285285
</div>
286286

287287
{/* Annotation panel */}
288-
<div className="w-[400px] shrink-0 border border-solid border-[rgba(5,23,41,0.06)] rounded-lg overflow-hidden bg-white flex flex-col">
288+
<div className="w-full md:w-[300px] lg:w-[400px] xl:w-[450px] shrink-0 border border-solid border-[rgba(5,23,41,0.06)] rounded-lg overflow-hidden bg-white flex flex-col">
289289
<AnnotationPanel scenarioId={currentScenarioId ?? ""} />
290290
</div>
291291
</div>

0 commit comments

Comments
 (0)