Skip to content

Commit 470cdc1

Browse files
committed
perf(docs-example): drop unnecessary c-tab-content with c-tab-pane in favour of plain css
1 parent 630d27d commit 470cdc1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="example mb-3">
22
<c-nav variant="tabs">
33
<c-nav-item>
4-
<a [active]="true" [cTabContent]="tabContent" [fragment]="fragment" routerLink="./" [tabPaneIdx]="0" cNavLink>
4+
<a [active]="true" [fragment]="fragment" [routerLink]="[]" cNavLink>
55
<svg cIcon class="me-2" name="cilMediaPlay"></svg>
66
Preview
77
</a>
@@ -13,9 +13,9 @@
1313
</a>
1414
</c-nav-item>
1515
</c-nav>
16-
<c-tab-content #tabContent="cTabContent" cRounded="bottom">
17-
<c-tab-pane aria-labelledby="docs-code-preview" class="p-3 preview" role="tabpanel">
16+
<div class="tab-content rounded-bottom">
17+
<div class="tab-pane active show p-3 preview fade">
1818
<ng-content></ng-content>
19-
</c-tab-pane>
20-
</c-tab-content>
19+
</div>
20+
</div>
2121
</div>

0 commit comments

Comments
 (0)