diff --git a/apps/code/src/renderer/components/permissions/PlanContent.tsx b/apps/code/src/renderer/components/permissions/PlanContent.tsx index 0b12ebbb55..381aaad33a 100644 --- a/apps/code/src/renderer/components/permissions/PlanContent.tsx +++ b/apps/code/src/renderer/components/permissions/PlanContent.tsx @@ -1,5 +1,5 @@ -import { ArrowsIn, ArrowsOut, ListChecks, X } from "@phosphor-icons/react"; -import { Box, Flex, IconButton, Text } from "@radix-ui/themes"; +import { ArrowsOut, ListChecks, X } from "@phosphor-icons/react"; +import { Box, Button, Flex, IconButton, Text } from "@radix-ui/themes"; import { useEffect, useRef, useState } from "react"; import { createPortal } from "react-dom"; import ReactMarkdown from "react-markdown"; @@ -56,16 +56,25 @@ export function PlanContent({ id, plan }: PlanContentProps) { if (portalTarget) { return ( <> - - + + + + Plan opened in fullscreen + + + {createPortal( @@ -105,22 +114,34 @@ export function PlanContent({ id, plan }: PlanContentProps) { } return ( - - setIsFullscreen(true)} - title="Expand to fullscreen" + + - - + + + Plan + + + - {markdown} + + {markdown} + ); }