Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-avatar-icon inside a clickable md-list-item #5554

@tjlav5

Description

@tjlav5

It seems that the css for the md-avatar-icon is a bit too specific.

md-list-item > .md-avatar-icon {
    background-color: '{{foreground-3}}';
    color: '{{background-color}}';
}

When adding a click fn to the containing md-list-item, the new structure becomes:

md-list-item
-- button
----.md-list-item-inner
------.md-avatar-icon

Is there any reason to not have an md-avatar-icon inside a clickable list-item? Or is it just an omission? If the later I can submit a quick PR.

Something along these lines would fix my use case:

md-list-item > .md-avatar-icon, .md-list-item-inner > .md-avatar-icon

OR

md-list-item .md-avatar-icon

Cheers

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.needs: reviewThis PR is waiting on review from the team

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions