This commit is contained in:
Andreas Knuth 2025-11-26 18:28:44 -06:00
parent ce56d757dd
commit ad5c4aa58b
1 changed files with 10 additions and 10 deletions

View File

@ -90,12 +90,12 @@ export default function Emails() {
{/* FESTE BREITEN für den Rest, damit sie nicht zerdrückt werden */} {/* FESTE BREITEN für den Rest, damit sie nicht zerdrückt werden */}
<th className="pb-3 border-b border-gray-200 w-[5%]">Date</th> <th className="pb-3 border-b border-gray-200 w-[5%]">Date</th>
<th className="pb-3 border-b border-gray-200 w-[15%]">Key</th> {/* Breit genug für lange Keys */} <th className="pb-3 border-b border-gray-200 w-[22%]">Key</th> {/* Breit genug für lange Keys */}
<th className="pb-3 border-b border-gray-200 w-[10%]">Proc. By</th> <th className="pb-3 border-b border-gray-200 w-[12%]">Proc. By</th>
<th className="pb-3 border-b border-gray-200 w-[10%]">Queued</th> <th className="pb-3 border-b border-gray-200 w-[11%]">Queued</th>
<th className="pb-3 border-b border-gray-200 w-[10%]">Status</th> <th className="pb-3 border-b border-gray-200 w-[5%]">Status</th>
<th className="pb-3 border-b border-gray-200 text-right w-[10%]">Action</th> <th className="pb-3 border-b border-gray-200 text-right w-[5%]">Action</th>
</tr> </tr>
</thead> </thead>
<tbody className="text-sm"> <tbody className="text-sm">
@ -111,25 +111,25 @@ export default function Emails() {
<div className="truncate">{e.subject}</div> <div className="truncate">{e.subject}</div>
</td> </td>
<td className="py-2 text-gray-500 text-xs whitespace-nowrap w-fit"> <td className="py-2 text-gray-500 text-xs whitespace-nowrap">
{formatDate(e.date)} {formatDate(e.date)}
</td> </td>
{/* Key: Monospace für exakte Breite, text-xs damit er in die 28rem passt */} {/* 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 w-fit" title={e.key}> <td className="py-2 font-mono text-xs text-gray-600 select-all truncate " title={e.key}>
{e.key} {e.key}
</td> </td>
<td className="py-2 text-gray-500 text-xs truncate w-fit" title={e.processedBy || ''}> <td className="py-2 text-gray-500 text-xs truncate" title={e.processedBy || ''}>
{e.processedBy ? e.processedBy.split('@')[0] : '-'} {e.processedBy ? e.processedBy.split('@')[0] : '-'}
</td> </td>
<td className="py-2 text-gray-500 text-xs truncate w-fit" title={e.queuedTo || ''}> <td className="py-2 text-gray-500 text-xs truncate " title={e.queuedTo || ''}>
{e.queuedTo || '-'} {e.queuedTo || '-'}
</td> </td>
<td className="py-2 whitespace-nowrap w-fit"> <td className="py-2 whitespace-nowrap ">
{e.status ? ( {e.status ? (
<span className={`text-xs font-medium ${ <span className={`text-xs font-medium ${
e.status === 'delivered' ? 'text-green-600' : e.status === 'delivered' ? 'text-green-600' :