Skip to content

Commit d290920

Browse files
authored
Merge pull request #176 from CodeChefVIT/samya/new
small fixes
2 parents 4c00ea5 + 59d599c commit d290920

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/CatalogueContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const CatalogueContent = () => {
222222
link.download = filename;
223223
link.click();
224224
window.URL.revokeObjectURL(link.href);
225-
} catch (error) {}
225+
} catch (error) { }
226226
}
227227

228228
return (
@@ -291,7 +291,7 @@ const CatalogueContent = () => {
291291
<Loader />
292292
) : papers.length > 0 ? (
293293
<div
294-
className={`grid h-fit grid-cols-2 gap-8 px-[30px] py-[40px] md:grid-cols-3 lg:grid-cols-4 ${filtersPulled ? "blur-xl" : ""}`}
294+
className={`grid h-fit grid-cols-1 gap-8 px-[30px] py-[40px] md:grid-cols-2 lg:grid-cols-4 ${filtersPulled ? "blur-xl" : ""}`}
295295
>
296296
{appliedFilters ? (
297297
filteredPapers.length > 0 ? (

src/components/Navbar.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ function Navbar() {
3333
</div>
3434

3535
<Link href={pathname == "/upload" ? "/" : "/upload"}>
36-
<div className="scale-75 rounded-md bg-[#453D60] md:p-[2px]">
37-
<div className="flex items-center gap-2 whitespace-nowrap rounded-md bg-slate-200 py-2 text-[10px] font-bold tracking-tight text-black transition-all duration-150 hover:bg-white active:scale-95 dark:bg-[#171720] dark:text-white dark:hover:bg-slate-700 sm:px-4 sm:text-xs md:px-6 md:text-sm">
38-
<ArrowDownLeftIcon className="rotate-90" />
39-
<span>
40-
{pathname == "/upload" ? "SEARCH PAPERS" : "UPLOAD PAPERS"}
36+
<div className="rounded-md bg-[#453D60] p-[1.5px] md:p-[2px]">
37+
<div className="flex items-center gap-1 rounded-md bg-slate-200 px-2 py-1 text-[9px] font-bold tracking-tight text-black transition-all duration-150 hover:bg-white active:scale-95 dark:bg-[#171720] dark:text-white dark:hover:bg-slate-700 sm:gap-2 sm:px-3 sm:py-2 sm:text-[10px] md:px-6 md:text-sm">
38+
<ArrowDownLeftIcon className="h-3 w-3 sm:h-4 sm:w-4 rotate-90" />
39+
<span className="text-center font-semibold">
40+
{pathname === "/upload" ? "SEARCH PAPERS" : "UPLOAD PAPERS"}
4141
</span>
4242
</div>
4343
</div>

0 commit comments

Comments
 (0)