Skip to content

Commit

Permalink
Added handle, solves #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptizism committed Aug 11, 2023
1 parent 6fa154f commit 2a75f41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tier.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Tier: React.FC<TierProps> = ({ color, name, onDelete }) => {
<div className="flex bg-[#1A1A17] gap-[2px]">
<div
onContextMenu={handleContextMenu}
className={`w-24 min-h-[5rem] flex justify-center items-center`}
className={`w-24 min-h-[5rem] flex justify-center items-center handle`}
style={{ backgroundColor: editedColor }}
>
<p className="text-center" style={{ overflowWrap: "anywhere" }}>
Expand Down
1 change: 1 addition & 0 deletions src/components/TierList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const TierList = () => {
setList={setTiers}
tag="div"
className="flex flex-col gap-[2px] p-[2px] bg-black resize-x overflow-x-auto min-w-[8rem]"
handle=".handle"
>
{tiers.map((tier, index) => (
<Tier
Expand Down

0 comments on commit 2a75f41

Please sign in to comment.