Skip to content

Commit

Permalink
chore: update static ui
Browse files Browse the repository at this point in the history
  • Loading branch information
zouhangwithsweet committed Mar 2, 2024
1 parent accf666 commit 75842ee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion entrypoints/injected/components/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,13 @@ export const CodeArea = memo((props: { minimized?: boolean }) => {
onClick={() => (index === 0 ? setAtomicExpand(!atomicExpand) : setExpand(!expand))}
>
<span className="text-#000/30 text-xs">{u.type}</span>
<ChevronDownIcon className="block ml-auto text-#000/50 hover:text-#000 cursor-pointer" />
<ChevronDownIcon
className={cn(
'block ml-auto text-#000/50 hover:text-#000 cursor-pointer rotate-180',
index === 0 && !atomicExpand ? 'rotate-0' : '',
index !== 0 && !expand ? 'rotate-0' : '',
)}
/>
</div>
) : (
<span
Expand Down

0 comments on commit 75842ee

Please sign in to comment.