File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,9 @@ const CatalogueContent = () => {
167
167
} , [ subject , searchParams ] ) ;
168
168
169
169
return (
170
- < div className = "min-h-screen p-8" >
171
- < div className = "mb-4 flex flex-col md:flex- row w-full items-center justify-center gap-10" >
172
- < div className = "w-full md:w-[576px]" >
170
+ < div className = "min-h-screen px-2 md: p-8" >
171
+ < div className = "mb-4 flex flex-row w-full items-center md: justify-center md: gap-10" >
172
+ < div className = "w-[120%] md:w-[576px]" >
173
173
< SearchBar />
174
174
</ div >
175
175
{ subject && filterOptions && (
@@ -190,7 +190,7 @@ const CatalogueContent = () => {
190
190
< p > Loading papers...</ p >
191
191
) : papers . length > 0 ? (
192
192
< >
193
- < div className = "mb-4 md :mr-4 flex justify-center md:justify-end gap-2" >
193
+ < div className = "mb-4 2xl :mr-4 flex justify-center md:justify-end gap-2" >
194
194
< Button variant = "outline" onClick = { handleSelectAll } >
195
195
Select All
196
196
</ Button >
Original file line number Diff line number Diff line change 9
9
} from "@/components/ui/dialog" ;
10
10
import { type Filters } from "@/interface" ;
11
11
import { useEffect , useState } from "react" ;
12
+ import { SlidersHorizontal } from "lucide-react" ;
12
13
13
14
export const FilterDialog = ( {
14
15
subject,
@@ -72,7 +73,12 @@ export const FilterDialog = ({
72
73
return (
73
74
< Dialog open = { open } onOpenChange = { setOpen } >
74
75
< DialogTrigger asChild >
75
- < Button variant = "outline" > Filters</ Button >
76
+ < Button variant = "outline" className = "py-6 rounded-xl" >
77
+ < span className = "hidden md:block" > Filters</ span >
78
+ < span className = "block md:hidden" >
79
+ < SlidersHorizontal />
80
+ </ span >
81
+ </ Button >
76
82
</ DialogTrigger >
77
83
< DialogContent className = "max-h-[650px] overflow-y-hidden" >
78
84
< DialogHeader >
You can’t perform that action at this time.
0 commit comments