This commit is contained in:
Andreas Knuth 2025-11-26 18:17:46 -06:00
parent 8c2b269b48
commit 84636aa59a
1 changed files with 6 additions and 6 deletions

View File

@ -111,25 +111,25 @@ export default function Emails() {
<div className="truncate">{e.subject}</div>
</td>
<td className="py-2 text-gray-500 text-xs whitespace-nowrap">
<td className="py-2 text-gray-500 text-xs whitespace-nowrap w-fit">
{formatDate(e.date)}
</td>
{/* Key: Monospace für exakte Breite, text-xs damit er in die 28rem passt */}
<td className="py-2 font-mono text-xs text-gray-600 select-all truncate" title={e.key}>
<td className="py-2 font-mono text-xs text-gray-600 select-all truncate w-fit" title={e.key}>
{e.key}
</td>
<td className="py-2 text-gray-500 text-xs truncate" title={e.processedBy || ''}>
<td className="py-2 text-gray-500 text-xs truncate w-fit" title={e.processedBy || ''}>
{e.processedBy ? e.processedBy.split('@')[0] : '-'}
</td>
<td className="py-2 text-gray-500 text-xs truncate" title={e.queuedTo || ''}>
<td className="py-2 text-gray-500 text-xs truncate w-fit" title={e.queuedTo || ''}>
{e.queuedTo || '-'}
</td>
<td className="py-2 whitespace-nowrap">
<td className="py-2 whitespace-nowrap w-fit">
{e.status ? (
<span className={`text-xs font-medium ${
e.status === 'delivered' ? 'text-green-600' :
@ -141,7 +141,7 @@ export default function Emails() {
) : <span className="text-gray-300">-</span>}
</td>
<td className="py-2 text-right font-medium">
<td className="py-2 text-right font-medium w-fit">
<Link href={`/email?bucket=${bucket}&key=${e.key}&mailbox=${encodeURIComponent(mailbox || '')}`} className="text-blue-600 hover:text-blue-800 underline decoration-blue-200 hover:decoration-blue-800">
View
</Link>