Mat-Nav-List horizontal instead of vertical?

前端 未结 7 981
没有蜡笔的小新
没有蜡笔的小新 2021-02-07 23:18

How do I make the following horizontal instead of the (apparent default) of vertical? It is located within navigation.component.html within my Angular 5.2.7 application that wa

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-07 23:36

    Set mat-nav-list to flex container then adjust mat-list-item height and padding

    I am using angular/flex-layout but you can achieve the same with css/scss

    
    
        Home
    
    
        About
    
    
        Contact Us
     
    

提交回复
热议问题