Fix drop marker indent

This commit is contained in:
Gregory Schier
2023-11-04 11:16:41 -07:00
parent e26ba0f9d0
commit f4a071ee05
2 changed files with 4 additions and 7 deletions

View File

@@ -3,16 +3,14 @@ import React, { memo } from 'react';
interface Props {
className?: string;
depth: number;
}
export const DropMarker = memo(
function DropMarker({ className, depth }: Props) {
function DropMarker({ className }: Props) {
return (
<div
className={classNames(
className,
depth > 0 ? 'ml-5' : 'ml-0',
'relative w-full h-0 overflow-visible pointer-events-none',
)}
>