Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: filter section is overflowing for small screen in dashboard sect… #1690

Merged
merged 7 commits into from
Sep 17, 2023
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
Loading