-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/toolbar
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
It should be possible to display a divider in a mat-toolbar
per the spec:
What is the current behavior?
Placing <mat-divider [vertical]="true">
creates a 0 x 1 pixel element.
What are the steps to reproduce?
In this StackBlitz, you can see the top toolbar has the divider but it's not visible, while the bottom toolbar manually styles the divider to show up correctly.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest everything, as far as I can tell.
Is there anything else we should know?
In the StackBlitz, I have to guess at the pixel height of the divider because I can't find exactly how tall the line is supposed to be in the spec, even though they do call out the spacing between the line and the icons on either side of it. I think it's a blind spot in the spec, since neither the Structure nor the Toolbars section actually mentions the use of dividers to logically group controls.
GeorgeKnap, DPK101, chicobaptista, JanMesaric, ivan-masich and 18 moreCherniyFY
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/toolbar