Skip to content

fix(material-experimental/mdc-list): fix styles for normal lists #18632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 12, 2020

Conversation

mmalerba
Copy link
Contributor

@mmalerba mmalerba commented Feb 26, 2020

Fixes up various styles for the lists under the "normal lists" section of the demo.

Note: not merge-safe due to some minor changes in mat-line.

Demo: https://mmalerba-demo1.firebaseapp.com/mdc-list

@mmalerba mmalerba added the target: patch This PR is targeted for the next patch release label Feb 26, 2020
@mmalerba mmalerba requested a review from jelbourn February 26, 2020 23:33
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 26, 2020
@@ -8,3 +8,53 @@
.mat-mdc-list-base {
display: block;
}

// While MDC expects only span elements under mdc-list-item__text, we have historically supported
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do they have any examples where there's a header etc. outside mdc-list-item__text?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmalerba
Copy link
Contributor Author

FYI, fixed the avatar and divider issues

@mmalerba mmalerba requested a review from a team as a code owner March 2, 2020 23:50
mmalerba added 4 commits March 6, 2020 13:34
Fixes up various styles for the lists under the "normal lists" section
of the demo. There are still some issues around the avatars and dividers
on the last list
@mmalerba
Copy link
Contributor Author

mmalerba commented Mar 6, 2020

@jelbourn updated the dev-app and examples to remove <h[1-6]> and <p> tags from list items as discussed offline

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added lgtm action: merge The PR is ready for merge by the caretaker labels Mar 9, 2020
@andrewseguin andrewseguin merged commit dd239dd into angular:master Mar 12, 2020
andrewseguin pushed a commit that referenced this pull request Mar 12, 2020
)

* fix(material-experimental/mdc-list): fix styles for normal lists

Fixes up various styles for the lists under the "normal lists" section
of the demo. There are still some issues around the avatars and dividers
on the last list

* fix avatars and dividers

* fix lint and api

* address feedback

(cherry picked from commit dd239dd)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants