You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use a md-menu-divider, or make the existing md-divider work within md-menu. This is not in the design doc, but it will be very handy.
What is the current behavior?
There isn't one available.
What are the steps to reproduce?
I would like one just like in md-list, the md-divider
What is the use-case or motivation for changing an existing behavior?
At the moment I use an <hr/> element to have a divider in the menu, but the original styling of the <hr/> element isn't very nice, so I have to add styling to the element. A md-menu-divider with the same styling as the md-divider will be a prefered.
Which versions of Angular, Material, OS, browsers are affected?
Angular Material 2.0.0-alpha-10
Reacted by Kalmár Gábor, Pieter-Jan Savat, wanli, Genna, olivier goyon, Simon van der Meer, Craig Goldstone, huangbo, Juliano Brasil, SondreB and 8 more
What is the intended use of md-divider? Just for md-list? Because it might as well be useful in md-card?
With the current version you can use md-divider also outside of md-list but it is only shown if list.css is loaded.
Is it possible to move the divider css to a file which is loaded in all use cases?
Reacted by Juliano Brasil, Brandon Yang, jibbers42, Ilya Zolotukhin, Nicholas (Nick) Tuck, Benjamin Charity, Carlos Venegas , Robin and Royce Havelka
Activity
jelbourn commentedon Nov 30, 2016
@kara is this something you wanted to add?
bradrich commentedon Jan 26, 2017
@riankol In the meantime, you could use a standard HTML hr element.
andreasrueedlinger commentedon May 2, 2017
What is the intended use of md-divider? Just for md-list? Because it might as well be useful in md-card?
With the current version you can use md-divider also outside of md-list but it is only shown if list.css is loaded.
Is it possible to move the divider css to a file which is loaded in all use cases?
angular-automatic-lock-bot commentedon Sep 8, 2019
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.