fix: the loading string updates page does not supports dark mode
This commit is contained in:
parent
e1d44586b9
commit
25bd99abc5
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ const LoadingSpinner: React.FC = () => {
|
|||
|
||||
return (
|
||||
<div className="flex items-center justify-center min-h-[200px]" role="status">
|
||||
<div className="animate-spin rounded-full h-12 w-12 border-4 border-primary border-t-transparent" />
|
||||
<div className="animate-spin rounded-full h-12 w-12 border-4 border-primary dark:border-primary border-t-transparent dark:border-t-transparent" />
|
||||
<span className="sr-only">{t('common.loading')}</span>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -152,7 +152,7 @@ const Timeline = () => {
|
|||
|
||||
{isLoading ? (
|
||||
<div className="text-center py-20">
|
||||
<p>{t('updates.loading')}</p>
|
||||
<p className="text-gray-900 dark:text-gray-100">{t('updates.loading')}</p>
|
||||
</div>
|
||||
) : updates.length > 0 ? (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue