Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/mosaic-org-list-pending-spinner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/mosaic': patch
---

Center the pending spinner on an `OrganizationList` row in a trailing column that mirrors the row's avatar, instead of pressing it against the row's edge.
2 changes: 1 addition & 1 deletion packages/mosaic/src/components/item/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Root = React.forwardRef<HTMLDivElement, ItemProps>(function MosaicItem(
});

/**
* Square leading column that centers its media (icon, image, or avatar). Takes
* Square column that centers its media (icon, image, avatar, or spinner). Takes
* its width from the `size` on the enclosing `Item.Root`, falling back to the
* default when rendered on its own.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ function SelectRow({ name, imageUrl, shape, busy, disabled, onSelect }: SelectRo
<Item.Label>{name}</Item.Label>
</Item.Content>
{busy ? (
<Item.Actions>
<Item.Media>
<Spinner
size='sm'
label={m.pending}
/>
</Item.Actions>
</Item.Media>
) : null}
</Item.Root>
);
Expand Down
Loading