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

fix(list): Don't wrap secondary buttons in a button. #5721

Closed

Conversation

topherfangio
Copy link
Contributor

We currently wrap many .md-secondary items in an extra button for accessibility purposes. However, there is no need to wrap an existing button inside an additional one as it creates odd behavior and styling.

Additionally, fix some styles so that secondary buttons render properly (position was off due to margins).

Lastly, add some new demo code to show how to use this functionality.

Fixes #3176.

We currently wrap many `.md-secondary` items in an extra button
for accessibility purposes. However, there is no need to wrap an
existing button inside an additional one as it creates odd
behavior and styling.

Additionally, fix some styles so that secondary buttons render
properly (position was off due to margins).

Lastly, add some new demo code to show how to use this functionality.

Fixes #3176.
@topherfangio topherfangio added the needs: review This PR is waiting on review from the team label Nov 13, 2015
@topherfangio topherfangio added this to the 1.0-rc5 milestone Nov 13, 2015
@topherfangio topherfangio deleted the team/topher/fix-list-secondary-buttons-3176 branch December 17, 2015 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: review This PR is waiting on review from the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-secondary button on md-list-item is broken
2 participants