Skip to content

Commit

Permalink
feat: use tailwindcss animate
Browse files Browse the repository at this point in the history
  • Loading branch information
Aralhi committed Jan 2, 2024
1 parent 6ffb9e5 commit 77694cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion web/components/knowledge/segmentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function Segmentation(props: IProps) {
case 'FINISHED':
return <Icon component={DoneIcon} />;
case 'RUNNING':
return <Icon className="rotate-animation" component={SyncIcon} />;
return <Icon className="animate-spin animate-infinite" component={SyncIcon} />;
case 'FAILED':
return <Icon component={FileError} />;
default:
Expand Down
3 changes: 0 additions & 3 deletions web/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,3 @@ table tr td {
transform: rotate(360deg);
}
}
.rotate-animation {
animation: rotate 2s linear infinite;
}

0 comments on commit 77694cb

Please sign in to comment.