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