diff --git a/src/components/ActionBar.tsx b/src/components/ActionBar.tsx index aa3f761..dc37e85 100644 --- a/src/components/ActionBar.tsx +++ b/src/components/ActionBar.tsx @@ -17,6 +17,11 @@ interface ActionBarProps { showVerifyProof?: boolean; // If true, show verify proof button instead of verify button proofVerified?: boolean; hasMaskedContent?: boolean; // If false, disable the View & Download button + // NOTE: inline=true renders the bar in normal page flow instead of pinned to the viewport + // bottom. Used when the verify page is embedded in an iframe: there the viewport is short, so + // the fixed bar sat on top of the email text and, below the md breakpoint, showed only an + // unlabeled icon. Removing this brings that overlap back for every embed. + inline?: boolean; } export default function ActionBar({ @@ -31,6 +36,7 @@ export default function ActionBar({ showVerifyProof = false, proofVerified = false, hasMaskedContent = false, + inline = false, }: ActionBarProps) { const verifyLabel = isVerifyingProof ? "Verifying..." @@ -44,7 +50,13 @@ export default function ActionBar({ const isViewDownloadDisabled = isGeneratingProof || !hasMaskedContent; return ( -