Skip to content

Commit

Permalink
feat: hover시에만 에디터 element 테두리 보이도록
Browse files Browse the repository at this point in the history
  • Loading branch information
bepyan committed Aug 21, 2024
1 parent 59fceed commit 1784330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/editor/elements/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default function Container({ element }: Props) {
isRoot && "min-h-full",
!isRoot &&
!editor.state.isPreviewMode &&
"ring-1 ring-muted hover:ring-border",
"hover:ring-1 hover:ring-border",
)}
onDrop={handleDrop}
onDragStart={handleDragStart}
Expand Down

0 comments on commit 1784330

Please sign in to comment.