Skip to content

Commit

Permalink
👻 Improve spacing for spinner (#1619)
Browse files Browse the repository at this point in the history
- Add margin for the actions spinner

Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 authored Dec 15, 2023
1 parent 21e3e9f commit bb0d2a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
} from "@tanstack/react-query";
import { TrashIcon } from "@patternfly/react-icons";
import useIsArchetype from "@app/hooks/useIsArchetype";
import spacing from "@patternfly/react-styles/css/utilities/Spacing/spacing";

enum AssessmentAction {
Take = "Take",
Expand Down Expand Up @@ -222,7 +223,7 @@ const DynamicAssessmentActionsRow: FunctionComponent<
{action}
</Button>
) : (
<Spinner role="status" size="md">
<Spinner role="status" size="md" className={spacing.mxLg}>
<span className="sr-only">Loading...</span>
</Spinner>
)}
Expand Down

0 comments on commit bb0d2a5

Please sign in to comment.