This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(divider): Fix stlying for md-divider inside md-list-item.
When an `md-divider` was used inside of a `md-list-item` with an `<md-button>`, the divider would improperly show up at the bottom of the list, instead of the bottom of each list item. Fix by making the list item's position relative. Also, we automatically apply special styling when we detect an `<md-button>` inside of the list item because we assume that it wraps all of the elements. If you simply wanted to use a secondary `<md-button>` or other clickable button inside a list, we would incorrectly apply this styling. Fix by automatically excluding `md-secondary` buttons and providing an additional `md-exclude` class that can be added to buttons. Fixes #3021. Closes #5058.
- Loading branch information