Skip to content

Commit

Permalink
align last transaction col right
Browse files Browse the repository at this point in the history
  • Loading branch information
minaxolone committed May 18, 2024
1 parent ebc9a58 commit ba58d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const UserTransactionRow: FC<Props> = ({ transaction }) => {
<span className="text-blue-500">{transaction.functionName}</span>
</span>
</td>
<td className="px-6 py-4 text-sm font-normal">{formatDistanceToNow(age)}</td>
<td className="px-6 py-4 text-sm font-normal text-right">{formatDistanceToNow(age)}</td>
</tr>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface Props {

const TransactionsTable: FC<Props> = ({ transactions }) => {
return (
<div className="inline-block min-w-full py-2 align-middle px-2">
<div className="inline-block min-w-full align-middle">
<table className="min-w-full">
<thead className="bg-[#FAFAFA] border-b border-[#E5E5E5]">
<tr>
Expand All @@ -28,7 +28,7 @@ const TransactionsTable: FC<Props> = ({ transactions }) => {
<th scope="col" className="px-6 py-3 text-left font-medium text-xs">
Function
</th>
<th scope="col" className="px-6 py-3 text-left font-medium text-xs">
<th scope="col" className="px-6 py-3 text-right font-medium text-xs">
Age
</th>
</tr>
Expand Down

0 comments on commit ba58d61

Please sign in to comment.