Skip to content

Commit

Permalink
feat: update agent run style
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Mar 5, 2024
1 parent 6b1a415 commit c9c7a9a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/builder/src/page/AI/AIAgentRun/AIAgentRunPC/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ export const aiAgentContainerStyle = css`

export const leftPanelContainerStyle = (showEditPanel: boolean) => css`
height: 100%;
width: ${showEditPanel ? "528px" : 0};
width: 528px;
display: flex;
flex-direction: column;
overflow-y: auto;
opacity: ${showEditPanel ? 1 : 0};
position: ${showEditPanel ? "relative" : "absolute"};
transform: ${showEditPanel ? "translateX(0)" : "translateX(-100%)"};
box-shadow: 4px 0 16px 0 rgba(0, 0, 0, 0.06);
flex: none;
transition: width 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
${applyMobileStyle(css`
display: none;
`)}
Expand Down

0 comments on commit c9c7a9a

Please sign in to comment.