We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c56a3 commit 80b424dCopy full SHA for 80b424d
src/app/pages/component-sidenav/component-nav.html
@@ -5,7 +5,8 @@
5
[routerLink]="'/' + section+ '/' + component.id"
6
routerLinkActive="docs-component-viewer-sidenav-item-selected"
7
[attr.aria-current]="currentItemId === component.id ? 'page': 'false'">
8
- {{component.nameCn}}<br/><small>{{component.name}}</small>
+ {{component.nameCn}}
9
+ <small>{{component.name}}</small>
10
</a>
11
</mat-nav-list>
12
</div>
src/app/pages/component-sidenav/component-nav.scss
@@ -1,3 +1,11 @@
1
small {
2
opacity: 0.4;
3
}
4
+
+mat-nav-list {
+ &::ng-deep {
+ .mat-list-item-content {
+ flex-wrap: wrap;
+ }
+}
0 commit comments