Fix floating border outside card accordion

This commit is contained in:
Faisal Amir 2023-12-08 16:18:50 +07:00
parent ee16683d0a
commit c811ec611e

View File

@ -1,4 +1,4 @@
import { ReactNode, useState, useRef } from 'react' import { ReactNode, useState } from 'react'
import { import {
ChevronDownIcon, ChevronDownIcon,
@ -55,7 +55,7 @@ export default function CardSidebar({
</button> </button>
<div <div
ref={setToggle} ref={setToggle}
className="cursor-pointer bg-zinc-200 p-2 dark:bg-zinc-600/10" className="cursor-pointer rounded-md bg-zinc-200 p-2 dark:bg-zinc-600/10"
onClick={() => setMore(!more)} onClick={() => setMore(!more)}
> >
<MoreVerticalIcon className="h-5 w-5" /> <MoreVerticalIcon className="h-5 w-5" />