We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 812ed15 commit 15ae058Copy full SHA for 15ae058
1 file changed
app/admin/pdf-preview/page.tsx
@@ -242,6 +242,7 @@ function PDFPreviewContent() {
242
243
link.click();
244
URL.revokeObjectURL(downloadUrl);
245
+ toast.success("PDFダウンロードを開始しました");
246
};
247
248
/**
@@ -268,9 +269,14 @@ function PDFPreviewContent() {
268
269
270
271
return (
- <div className="p-8">
272
- <div className="mb-6 flex gap-4">
273
- <button onClick={handleDownloadPDF}>PDFダウンロード</button>
+ <div className="p-8 flex flex-col items-center">
+ <div className="flex justify-end gap-4 mb-4 w-full">
274
+ <button
275
+ onClick={handleDownloadPDF}
276
+ className="px-4 py-2 bg-gray-700 text-white rounded hover:bg-gray-800"
277
+ >
278
+ PDFダウンロード
279
+ </button>
280
{/* ダッシュボードから?send=trueで遷移してきた場合のみ送信ボタンを表示 */}
281
{isSendMode && sessionIds && (
282
<button
0 commit comments