-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(mat-divider): wrong styling #9233
Comments
Looking at it this is the issue
|
Alright, two things: (1) the But more importantly, (2) The last bit is that your piece about the behavior reverting in cards is because the |
Hey @CaerusKaru thx for the quick reply! (1) Saddly I almost exclusively look for examples in material.io and atm there isn't any example that showcases the use of (2) Yup, styling is correctly applied to a A possible solution would be the following:
The Ill try to take a look at the issue and come up with a PR |
@jotatoledo Thank you very much for your CSS solution. It's been incorporated into PR #9242, which offers the dynamic solution I was talking about (just in case icons/avatars are not the only precursors in the future). Once this is merged, I will look into adding some examples for material.angular.io (probably what you described, copying the examples from AngularJS Material) |
I think the reason there isn't a page on material.angular.io yet is because |
Looks rlly good, glad I could help. Yeah, but as I mentioned before, it would be helpful to add those examples from materialjs into the list doc. For the moment I dont see the need of a dedicated section for mat-divider |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug introduced by #5862
What is the expected behavior?
mat-divider
withinset=true
is vertically aligned to the start of amat-list-item
textThe lists (inside and outside the card) should look as presented in https://material.io/guidelines/components/dividers.html#dividers-usage
What is the current behavior?
mat-divider
withinset=true
wont align vertically to the start of amat-list-item
textmat-list
contained in amat-card
What are the steps to reproduce?
https://stackblitz.com/edit/angular-mat-div-issue?file=index.html
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.x.x
Material 5.0.3
The text was updated successfully, but these errors were encountered: