Skip to content

Commit d858b86

Browse files
committed
Refactor loading state styling in Datasets and UseCases components for improved UI consistency
1 parent 49eedf3 commit d858b86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/[locale]/(user)/publishers/components/Datasets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const Datasets = ({ type }: { type: 'organization' | 'Publisher' }) => {
137137
)}
138138
>
139139
{PublishedDatasetsList.isLoading ? (
140-
<div className=" mt-8 flex justify-center">
140+
<div className=" flex w-fit justify-center rounded-2 bg-surfaceDefault p-4">
141141
<Spinner />
142142
</div>
143143
) : (

app/[locale]/(user)/publishers/components/UseCases.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const UseCases = ({ type }: { type: 'organization' | 'Publisher' }) => {
121121
)}
122122
>
123123
{PublishedUseCasesList.isLoading ? (
124-
<div className=" mt-8 flex justify-center">
124+
<div className=" flex w-fit justify-center rounded-2 bg-surfaceDefault p-4">
125125
<Spinner />
126126
</div>
127127
) : (

0 commit comments

Comments
 (0)