Skip to content

Commit

Permalink
Fixed #13576 - Remove invalid property and update demo z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Sep 21, 2023
1 parent 2410df6 commit 4b40014
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/showcase/doc/megamenu/basicdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { Code } from '../../domain/code';
<p>MegaMenu requires a collection of menuitems as its <i>model</i>.</p>
</app-docsectiontext>
<div class="card">
<p-megaMenu [model]="items" baseZIndex="2000"></p-megaMenu>
<p-megaMenu [model]="items"></p-megaMenu>
</div>
<app-code [code]="code" selector="mega-menu-basic-demo"></app-code>
</section>`
</section>`,
})
export class BasicDoc implements OnInit {
@Input() id: string;
Expand Down
9 changes: 8 additions & 1 deletion src/app/showcase/pages/megamenu/megamenudemo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ import { VerticalDoc } from '../../doc/megamenu/verticaldoc';
import { AccessibilityDoc } from '../../doc/megamenu/accessibilitydoc';

@Component({
templateUrl: './megamenudemo.html'
templateUrl: './megamenudemo.html',
styles: [`
:host ::ng-deep{
.p-megamenu-panel {
z-index: 3;
}
}
`]
})
export class MegaMenuDemo {
docs = [
Expand Down

1 comment on commit 4b40014

@vercel
Copy link

@vercel vercel bot commented on 4b40014 Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.