Skip to content

Commit 3e6e6fe

Browse files
author
André Luiz Abdalla Silveira
committed
Just the current work
1 parent 45e0134 commit 3e6e6fe

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

dashboard/src/components/Filter/CheckboxSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const CheckboxList = ({ items, onClickItem }: ICheckboxList): JSX.Element => {
111111
);
112112

113113
return (
114-
<div className="flex max-w-[1000px] flex-wrap gap-x-4 gap-y-6">
114+
<div className="flex flex-wrap gap-x-4 gap-y-6">
115115
{itemComponents}
116116
</div>
117117
);

dashboard/src/components/Filter/Drawer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const DrawerHeader = (): JSX.Element => {
4040
return (
4141
<header className="mb-7 w-full">
4242
<DrawerTitle>
43-
<div className="mx-auto mb-4 flex w-[1400px] items-center justify-between">
43+
<div className="mx-auto mb-4 flex w-full items-center justify-between">
4444
<span className="text-2xl/[42px] font-bold">
4545
<FormattedMessage id="filter.filtering" />
4646
</span>
@@ -58,12 +58,12 @@ const DrawerHeader = (): JSX.Element => {
5858
const DrawerLink = ({ title, value, url }: IDrawerLink): JSX.Element => {
5959
return (
6060
<div className="mb-8 flex items-center justify-between">
61-
<div className="border-dark-gray flex h-[52px] w-full flex-col border bg-white px-4 py-2">
61+
<div className="border-dark-gray flex min-h-[52px] w-full max-w-full flex-col border bg-white px-4 py-2">
6262
<span className="text-dark-gray2 text-xs">
6363
<FormattedMessage id={title} />
6464
</span>
6565
<a
66-
className="text-dim-black text-base underline"
66+
className="text-dim-black break-all text-base underline"
6767
href={url ?? '#'}
6868
target={url ? '_blank' : undefined}
6969
rel="noreferrer"
@@ -164,11 +164,11 @@ const Drawer = ({
164164
/>
165165
</DrawerTrigger>
166166

167-
<DrawerContent className="bg-light-gray flex h-screen items-center px-4">
167+
<DrawerContent className="bg-light-gray flex h-full flex-col px-4">
168168
<DrawerHeader />
169-
<section className="h-full overflow-y-auto">
169+
<section className="w-full flex-1 overflow-y-auto">
170170
{drawerLinkComponent}
171-
<div className="w-[1000px] rounded-lg bg-white px-6 py-5">
171+
<div className="w-fit rounded-lg bg-white px-6 py-5">
172172
{showLegend && <Legend />}
173173
<div>{children}</div>
174174
</div>

0 commit comments

Comments
 (0)