This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
md-3-line should align icons to the top IF ng-click is added #3054
Labels
needs: demo
A CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issue
ui: CSS
Milestone
The fix for #2589 does not fully fix the issue of top-aligning icons. The current fix only addresses the issue when the md-list-item is not clickable.
If and when one adds ng-click or ng-href to create a clickable list item, the style is no longer applied.
This is due to the following code:
a2b88be#diff-c3e997633bc56157521f1305098d447aL199
The selector:
Which only selects the immediate child of md-list-item. When ng-click is applied to md-list-item, there's an intermediate button injected into the system, causing the new style not to be selected.
The text was updated successfully, but these errors were encountered: