Skip to content

Commit

Permalink
fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Oct 23, 2024
1 parent 8289f01 commit 497f0dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ATable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ const ATable: FC<ATableProps> = ({ header = [], data = [], loading }) => {
data-tooltip-id="my-tooltip"
data-tooltip-content={item.fileName}
data-tooltip-delay-hide={100}
data-tooltip-place='top-start' className="w-[230px] pl-2 h-[40px] flex items-center">{truncateMiddle(item.fileName, 6, 6)}</div></td>
data-tooltip-place='top-start' className="w-[200px] pl-2 h-[40px] flex items-center">{truncateMiddle(item.fileName, 6, 6)}</div></td>
<td>
<div className="w-[150px] flex items-center justify-between mr-5 ">{truncateMiddle(item.bagId || item.cid, 5, 5)}
<div className="w-[130px] flex items-center justify-between mr-5 ">{truncateMiddle(item.bagId || item.cid, 5, 5)}
<button onClick={() => copyTextToClipboard(item.bagId || item.cid)}>
<img src='/copy.svg' className=" w-5" />
</button>
</div>
</td>
<td>
<div className="w-[150px] flex items-center justify-between mr-5 ">
<div className="w-[30px] flex items-center justify-between mr-5 ">
{item.saveMode}
</div>
</td>
Expand Down

0 comments on commit 497f0dc

Please sign in to comment.