Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvie-Wxr committed Sep 17, 2023
1 parent d3cc53c commit 9f007b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/dashboard/table/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,19 @@ export default function Filters({
className={`cursor-pointer ${className}`}
data-testid="Filters-img-container"
/>

<div ref={wrapperRef} >
{open && (
<div
ref={floating}
className={`${strategy} ${(x && x > 0) ? `left-[${x}px]` : "left-[14px]"}`}
style={{
position: strategy,
top: y ?? '',
left: x ?? '',
left: x > 0 ? x : "",
}}
data-testid="Filter-menu">
<div className="bg-white w-96 shadow-xl rounded">
<div className="bg-white w-96 shadow-xl rounded max-w-[19rem]">
<div className="flex p-4">
<h4 className="text-base">Filter Issues</h4>
<button onClick={() => setOpen(!open)} className="ml-auto">
Expand Down

0 comments on commit 9f007b9

Please sign in to comment.