File tree 2 files changed +5
-6
lines changed
material.angular.io/src/app/pages/component-viewer
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 4
4
</ span >
5
5
6
6
<!--
7
- The span container is necessary for the layout to display properly. When
7
+ This container is necessary for the layout to display properly. When
8
8
a component has multiple API docs, they need to be joined together in the
9
9
same container so that they display one after another.
10
10
-->
11
- < span >
11
+ < div class =" docs-component-api " >
12
12
< doc-viewer [documentUrl] ="getApiDocumentUrl(docItem!) "
13
- class ="docs-component-view-text-content docs-component-api "
13
+ class ="docs-component-view-text-content "
14
14
(contentRendered) ="updateTableOfContents(docItem!.name, $event) ">
15
15
</ doc-viewer >
16
16
17
17
< doc-viewer *ngFor ="let additionalApiDoc of docItem!.additionalApiDocs; let index = index "
18
18
documentUrl ="/docs-content/api-docs/{{additionalApiDoc.path}} "
19
- class ="docs-component-view-text-content docs-component-api "
19
+ class ="docs-component-view-text-content "
20
20
(contentRendered) ="updateTableOfContents(additionalApiDoc.name, $event, index + 1) ">
21
21
</ doc-viewer >
22
- </ span >
22
+ </ div >
23
23
24
24
< table-of-contents #toc
25
25
*ngIf ="showToc | async "
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ app-component-viewer {
59
59
.docs-component-api ,
60
60
.docs-component-overview {
61
61
width : 80% ;
62
- display : inline-flex ;
63
62
64
63
@media (max-width : $small-breakpoint-width ) {
65
64
width : 100% ;
You can’t perform that action at this time.
0 commit comments