fix steps and tabmenu

This commit is contained in:
Çetin 2021-12-24 09:07:08 +03:00
parent 41a20dee68
commit dcc4435f1f

View File

@ -19,22 +19,28 @@
<p-breadcrumb [model]="breadcrumbItems" [home]="{icon: 'pi pi-home'}"></p-breadcrumb> <p-breadcrumb [model]="breadcrumbItems" [home]="{icon: 'pi pi-home'}"></p-breadcrumb>
</div> </div>
</div> </div>
<div class="col-12">
<div class="card flex flex-wrap">
<div class="col-12 md:col-6 justify-content-center">
<div class="card-w-title">
<h5>Steps</h5>
<p>Steps and TabMenu are integrated with the same child routes.</p>
<p-steps [model]="routeItems" [readonly]="false"></p-steps>
</div>
</div>
<div class="col-12 md:col-6"> <div class="col-12 md:col-6 mt-5 sm:mt-0">
<div class="card card-w-title"> <div class="card-w-title">
<h5>Steps</h5> <h5>TabMenu</h5>
<p>Steps and TabMenu are integrated with the same child routes.</p> <p>Steps and TabMenu are integrated with the same child routes.</p>
<p-steps [model]="routeItems" [readonly]="false"></p-steps> <p-tabMenu [model]="routeItems"></p-tabMenu>
<router-outlet></router-outlet> </div>
</div> </div>
</div>
<div class="col-12 md:col-4 mx-auto">
<div class="col-12 md:col-6"> <router-outlet></router-outlet>
<div class="card card-w-title"> </div>
<h5>TabMenu</h5>
<p>Steps and TabMenu are integrated with the same child routes.</p>
<p-tabMenu [model]="routeItems"></p-tabMenu>
<router-outlet></router-outlet>
</div> </div>
</div> </div>