Actually I am creating a custom component by wrapping the Angular material Toolbar component. I have wrapped the first element mat-toolbar by using ng-content, and also wrapped the second element mat-toolbar-row using ng-content only.
Here i am facing some issue while projecting the second or more than one mat-toolbar-row, because it is not displaying it in the next line as next toolbar-row, it is displaying the second toolbar content in first row only.As I know ng-content is static projection, so it is projecting the second toolbar row in the first row , how can i resolve this issue.
Please the find stackblitzLink here and I have shown the material example also below the custom component. Please help me in resolving this issue. Thanks in advance.