This repository was archived by the owner on Sep 5, 2024. It is now read-only.
fix(list): fix checkbox alignment and match dense heights to spec #11971
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check that your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
.md-dense-disabled
is not supported with lists.md-dense
list item heights don't match the specIssue Number:
Fixes #11966
What is the new behavior?
md-dense
list items are40px
in height by default48px
in height.md-dense-disabled
.md-dense
lists: align heights with spec for list items with primary icons,avatars/avatar icons, secondary buttons, and checkboxes
md-subheaders
in.md-dense
lists should match the single line list item height48px
->40px
Does this PR introduce a breaking change?
BREAKING CHANGE:
md-list
with themd-dense
class has been updated to align with the Material Design specification. This means thatmd-list-item
s heights have changed when usingmd-dense
. Themd-dense-disabled
class is now supported onmd-list
. After updating to this version, you may need to adjust the layout of your app if you usemd-dense
withmd-list
or customize the layout ofmd-checkbox
s withinmd-list-item
s.Other information
Dense
Default