Skip to content

Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.

feat: enhance tooltip content for invoice PDF download link

VladSez442206054213
diff --git a/src/app/(app)/components/invoice-pdf-download-link.tsx b/src/app/(app)/components/invoice-pdf-download-link.tsx
index de69962..b8085e2 100644
--- a/src/app/(app)/components/invoice-pdf-download-link.tsx
+++ b/src/app/(app)/components/invoice-pdf-download-link.tsx
@@ -247,7 +247,19 @@ export function InvoicePDFDownloadLink({
return (
<CustomTooltip
- content="You are responsible for invoice compliance."
+ content={
+ <div className="flex items-center gap-3 p-2">
+ <div className="space-y-1">
+ <p className="text-sm font-semibold text-slate-900">
+ Your Responsibility
+ </p>
+ <p className="text-pretty text-xs leading-relaxed text-slate-700">
+ Ensure this invoice complies with your local tax and accounting
+ regulations before sending to clients.
+ </p>
+ </div>
+ </div>
+ }
delayDuration={0}
trigger={
<a