Mat-Nav-List horizontal instead of vertical?

前端 未结 7 979
没有蜡笔的小新
没有蜡笔的小新 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:34

    I wound up using mat-tab-nav-bar, since nothing else in Angular Material seems to support horizontal, left-justified, Angular 6-compatible navigation bars, at least as of mid-August 2018.

    A full Angular 6.x example can be found in the Angular Material Horizontal Navigation Bar Example I put together using Angular-CLI 6.x, Angular 6.x and Angular Material 6.x.

提交回复
热议问题