Skip to content

mt-card: fix avatar slot positioning with title / title + subtitle #1251

Description

Package: @meteor/component-library

The mt-card avatar slot is hard to use — elements placed in it are not positioned/aligned correctly, especially relative to the title and subtitle.

Proposed improvement

  • Correct positioning/alignment of the avatar slot with title only
  • Correct positioning/alignment with title + subtitle
  • Consistent spacing between avatar and title/subtitle (token-based)
  • Sensible vertical alignment regardless of avatar size
  • Document both usages with examples in Storybook

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions