refactor(striker-ui): apply mt in Spinner occurrences

main
Tsu-ba-me 2 years ago
parent 383b4e938e
commit bb4b9f5441
  1. 2
      striker-ui/components/GateForm.tsx
  2. 2
      striker-ui/components/PrepareHostForm.tsx
  3. 2
      striker-ui/components/ProvisionServerDialog.tsx
  4. 2
      striker-ui/components/StrikerConfig/SimpleOperationsPanel.tsx

@ -183,7 +183,7 @@ const GateForm = forwardRef<GateFormForwardedRefContent, GateFormProps>(
const submitElement = useMemo(
() =>
isSubmitting ? (
<Spinner sx={{ marginTop: 0 }} />
<Spinner mt={0} />
) : (
<FlexBox row sx={{ justifyContent: 'flex-end' }}>
<ContainedButton

@ -477,7 +477,7 @@ const PrepareHostForm: FC = () => {
const submitSection = useMemo(
() =>
isSubmittingPrepareHost ? (
<Spinner sx={{ marginTop: 0 }} />
<Spinner mt={0} />
) : (
<FlexBox
row

@ -1753,7 +1753,7 @@ const ProvisionServerDialog = ({
/>
)}
{isProvisionRequestInProgress ? (
<Spinner sx={{ marginTop: 0 }} />
<Spinner mt={0} />
) : (
<Box
sx={{

@ -33,7 +33,7 @@ const SimpleOperationsPanel: FC<SimpleOperationsPanelProps> = ({
title ? (
<HeaderText sx={{ textAlign: 'center' }}>{title}</HeaderText>
) : (
<Spinner sx={{ marginTop: 0 }} />
<Spinner mt={0} />
),
[title],
);

Loading…
Cancel
Save