Skip to content

Commit

Permalink
fix: filter section is overflowing for small screen in dashboard sect… (
Browse files Browse the repository at this point in the history
#1690)

Co-authored-by: Akshat Nema <[email protected]>
  • Loading branch information
Tusharjain123 and akshatnema authored Sep 17, 2023
1 parent fe4f9de commit 2b13b27
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions components/dashboard/table/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ export default function Filters({
{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">
data-testid="Filter-menu"
>
<div className="bg-white shadow-xl w-96 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 2b13b27

Please sign in to comment.