Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b990bd

Browse files
fix: minor visual fixes in the tasks table (#20317)
- Fix table size for failure and empty states- Add skeleton for the "Delete" action in the table rowFixes#20281
1 parentdf738ab commit6b990bd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎site/src/pages/TasksPage/TasksTable.tsx‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type TasksErrorBodyProps = {
7474
constTasksErrorBody:FC<TasksErrorBodyProps>=({ error, onRetry})=>{
7575
return(
7676
<TableRow>
77-
<TableCellcolSpan={4}className="text-center">
77+
<TableCellcolSpan={5}className="text-center">
7878
<divclassName="rounded-lg w-full min-h-80 flex items-center justify-center">
7979
<divclassName="flex flex-col items-center">
8080
<h3className="m-0 font-medium text-content-primary text-base">
@@ -97,7 +97,7 @@ const TasksErrorBody: FC<TasksErrorBodyProps> = ({ error, onRetry }) => {
9797
constTasksEmpty:FC=()=>{
9898
return(
9999
<TableRow>
100-
<TableCellcolSpan={4}className="text-center">
100+
<TableCellcolSpan={5}className="text-center">
101101
<divclassName="w-full min-h-80 p-4 flex items-center justify-center">
102102
<divclassName="flex flex-col items-center">
103103
<h3className="m-0 font-medium text-content-primary text-base">
@@ -216,6 +216,11 @@ const TasksSkeleton: FC = () => {
216216
<TableCell>
217217
<AvatarDataSkeleton/>
218218
</TableCell>
219+
<TableCell>
220+
<divclassName="flex justify-end items-center">
221+
<SkeletonclassName="size-8"/>
222+
</div>
223+
</TableCell>
219224
</TableRowSkeleton>
220225
</TableLoaderSkeleton>
221226
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp