Skip to content

Commit 16b2891

Browse files
authored
Merge pull request #178 from boostcampwm-2024/bug-fe-#177
에디터 블록 drag handle이 예상과 다른 곳에 위치하는 문제 수정
2 parents 6868f2b + fa62e2a commit 16b2891

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/components/layout/EditorLayout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const EditorLayout = ({ children }: EditorLayoutProps) => {
1010

1111
return (
1212
<div
13-
className={`absolute right-0 h-[720px] w-[520px] transform rounded-bl-lg rounded-br-lg rounded-tr-lg border bg-white shadow-lg transition-transform duration-100 ease-in-out ${isPanelOpen ? "translate-x-0" : "translate-x-full"}`}
13+
className={`absolute right-0 h-[720px] w-[520px] rounded-bl-lg rounded-br-lg rounded-tr-lg border bg-white shadow-lg transition-transform duration-100 ease-in-out ${
14+
isPanelOpen ? "transform-none" : "translate-x-full"
15+
}`}
1416
>
1517
<div className="h-full overflow-auto">{children}</div>
1618

0 commit comments

Comments
 (0)