Tweak Git history table

This commit is contained in:
Gregory Schier
2025-03-19 06:59:54 -07:00
parent 6f8c03d8c1
commit 93c323458f
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ export function TableHeaderCell({
className?: string;
}) {
return (
<th className={classNames(className, 'py-2 [&:not(:first-child)]:pl-4 text-left w-0')}>
<th className={classNames(className, 'py-2 [&:not(:first-child)]:pl-4 text-left w-0 text-text-subtle')}>
{children}
</th>
);

View File

@@ -28,7 +28,7 @@ export function HistoryDialog({ log }: Props) {
{log.map((l, i) => (
<TableRow key={i}>
<TruncatedWideTableCell>{l.message || <em className="text-text-subtle">No message</em>}</TruncatedWideTableCell>
<TableCell>{l.author.name ?? 'Unknown'}</TableCell>
<TableCell><span title={`Email: ${l.author.email}`}>{l.author.name || 'Unknown'}</span></TableCell>
<TableCell className="text-text-subtle">
<span title={l.when}>{formatDistanceToNowStrict(l.when)} ago</span>
</TableCell>