Widerrufsformular link opens inline in a new tab instead of forcing a download

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Marco
2026-07-29 22:35:37 +00:00
parent 70abe20250
commit bffc7d39a2
+1 -2
View File
@@ -85,7 +85,6 @@ export default async function WiderrufPage() {
href="/api/muster-widerrufsformular"
target="_blank"
rel="noopener noreferrer"
download="Muster-Widerrufsformular.pdf"
className="group flex items-center gap-5 bg-bg-muted hover:bg-bg-white border border-border rounded-md p-6 transition-colors"
>
<div className="flex size-12 shrink-0 items-center justify-center rounded-sm bg-bg-white border border-border text-brand">
@@ -110,7 +109,7 @@ export default async function WiderrufPage() {
<p className="font-semibold text-body text-text-primary">
Muster-Widerrufsformular (PDF)
</p>
<p className="text-body-sm text-text-muted">Herunterladen</p>
<p className="text-body-sm text-text-muted">In neuem Tab öffnen</p>
</div>
<svg
viewBox="0 0 24 24"