Skip to content

Commit 52362c4

Browse files
Merge pull request #182 from PeerPrep/elroy-ui-fix
fix: fix UI divider between code and panes
2 parents f23cf6d + 65f364f commit 52362c4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

frontend/src/app/components/code-editor/CodeEditor.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import * as Y from "yjs";
1717
import Tabs from "../tab/Tabs";
1818
import { fetchProfileUrl } from "@/app/api";
1919

20+
import { BsArrowsExpand } from "react-icons/bs";
21+
2022
const CodeMirror = dynamic(() => import("@uiw/react-codemirror"), {
2123
ssr: false,
2224
loading: () => (
@@ -208,9 +210,11 @@ const CodeMirrorEditor = ({
208210
}}
209211
/>
210212
<div
211-
className="divider mx-auto w-[90svw] cursor-ns-resize lg:w-full"
213+
className="divider mx-auto w-[90svw] cursor-ns-resize hover:bg-accent lg:w-full"
212214
onMouseDown={handleMouseDown}
213-
/>
215+
>
216+
<BsArrowsExpand className="text-state-100 text-4xl" />
217+
</div>
214218
<Tabs
215219
height={Math.min(window.innerHeight * 0.7 - editorHeight, maxHeight)}
216220
/>

0 commit comments

Comments
 (0)