Skip to content

Resize Spinner on Card and Panel loading states using it's size parameter #674

Description

@nighto

Spinner has a size parameter which changes not only the size, but the thickness of it. Current implementation of Card and Panel loading states changes it's size based on the size of the parent container, but because the size parameter doesn't change, it gets a bit different specially on smaller sizes.

Compare the empty content (which uses <Spinner size="small"/>) with the similar, albeit different size when it has some small content (which currently is <Spinner size="medium"/>):

Image

Related ticket: #672 / PR #673

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions