mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-30 18:19:12 -05:00
Tweak Git history table
This commit is contained in:
@@ -57,7 +57,7 @@ export function TableHeaderCell({
|
|||||||
className?: string;
|
className?: string;
|
||||||
}) {
|
}) {
|
||||||
return (
|
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}
|
{children}
|
||||||
</th>
|
</th>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export function HistoryDialog({ log }: Props) {
|
|||||||
{log.map((l, i) => (
|
{log.map((l, i) => (
|
||||||
<TableRow key={i}>
|
<TableRow key={i}>
|
||||||
<TruncatedWideTableCell>{l.message || <em className="text-text-subtle">No message</em>}</TruncatedWideTableCell>
|
<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">
|
<TableCell className="text-text-subtle">
|
||||||
<span title={l.when}>{formatDistanceToNowStrict(l.when)} ago</span>
|
<span title={l.when}>{formatDistanceToNowStrict(l.when)} ago</span>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
Reference in New Issue
Block a user