Skip to content

Commit

Permalink
Hide navpane in PDFs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
wil93 authored and bortoz committed Oct 10, 2024
1 parent d52b8a4 commit eb7a866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(training)/task/[name]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function Page({ params }: Props) {
supportsPDFs ? (
<object
title={_(msg`Testo di ${task.title}`)}
data={statement}
data={`${statement}#navpanes=0`}
className="size-full"
/>
) : (
Expand Down

0 comments on commit eb7a866

Please sign in to comment.