@@ -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 => {
5858const 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