Skip to content
Open
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
11 changes: 9 additions & 2 deletions src/pages/form/AudioAnalysisResult.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ const AnalysisReport = ({ result }) => {
if (!result) return null;
const items = flattenObject(result);

return (
return (
<div className="report-container">
<style>{`@media print { .no-print { display: none !important; } }`}</style>
<button
className="no-print"
onClick={() => window.print()}
style={{ display: "block", margin: "0 auto 20px", padding: "10px 24px", borderRadius: 8, cursor: "pointer" }}
>
Save as PDF
</button>
<h2 className="report-title">Voice Analysis Report</h2>

<div className="report-grid">
{items.map((item, i) => (
<div className="report-card" key={i}>
Expand Down