Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ function SideBar() {
];

return (
<div className="no-scrollbar sticky top-0 h-[100vh] flex-col items-baseline overflow-y-auto border-r-2 border-[#36266d] bg-[#f3f5ff] pt-[10px] dark:bg-[#070114] md:flex">
<div
className="no-scrollbar sticky top-[92px] md:top-[100px] h-[calc(100vh-92px)] md:h-[calc(100vh-100px)] flex-col items-baseline overflow-y-auto border-r-2 border-[#36266d] bg-[#f3f5ff] pt-[10px] dark:bg-[#070114] md:flex"
>
<div className="flex w-full items-center justify-between border-b-2 border-[#36266d] px-[10px] py-4">
<div className="flex items-center gap-1">
<Filter size={24} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/newPdfViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Controls = memo(function Controls({documentId, toggleFullscreen, isFullscr
onFocus={() => setPageNo("")}
className="h-9 w-14 rounded border bg-[#e7e9ff] p-1 text-center text-sm [appearance:textfield] dark:bg-[#1f1f2a] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"
/>
<span className="text-xs font-medium text-white">of {totalPages ?? 1}</span>
<span className="text-xs font-medium text-white">{totalPages > 0 ? `of ${totalPages}` : "loading…"}</span>
</div>
)

Expand Down
Loading