mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 07:11:50 +01:00
fix spinner sizings
This commit is contained in:
parent
0c2bbd16a5
commit
b69c1a4518
@ -1,5 +1,4 @@
|
|||||||
.spinner {
|
.spinner {
|
||||||
font-size: 48px;
|
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
border: 0.12em solid var(--color,white);
|
border: 0.12em solid var(--color,white);
|
||||||
|
@ -6,5 +6,5 @@ export function LoadingSpinner() {
|
|||||||
|
|
||||||
if (!isLoading) return null;
|
if (!isLoading) return null;
|
||||||
|
|
||||||
return <Spinner />;
|
return <Spinner className="text-4xl" />;
|
||||||
}
|
}
|
||||||
|
@ -115,10 +115,10 @@ export function BackendTestPart() {
|
|||||||
)}
|
)}
|
||||||
<Button
|
<Button
|
||||||
theme="purple"
|
theme="purple"
|
||||||
|
loading={testState.loading}
|
||||||
className="whitespace-nowrap"
|
className="whitespace-nowrap"
|
||||||
onClick={runTests}
|
onClick={runTests}
|
||||||
>
|
>
|
||||||
{testState.loading ? <Spinner className="text-base mr-2" /> : null}
|
|
||||||
Test backend
|
Test backend
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -113,8 +113,7 @@ export function WorkerTestPart() {
|
|||||||
})}
|
})}
|
||||||
<Divider />
|
<Divider />
|
||||||
<div className="flex justify-end">
|
<div className="flex justify-end">
|
||||||
<Button theme="purple" onClick={runTests}>
|
<Button theme="purple" loading={testState.loading} onClick={runTests}>
|
||||||
{testState.loading ? <Spinner className="text-base mr-2" /> : null}
|
|
||||||
Test workers
|
Test workers
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user