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-list-item with ng-click causes font size to be smaller (and other oddities) #2438

Closed
@hanthomas

Description

@hanthomas

The following Plunkr demonstrates the problem in 0.9rc1: http://plnkr.co/edit/QrWRRWzXteZ1XynXRS7c?p=preview

It seems that the underlying issue is that the content of md-list-item is inheriting the styles from md-button class that wraps the content. This only happens where there's an ng-click directive on the list item Besides font size, it seem that other potentially undesirable styles such as line-height and white-space also affect the appearance and behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions