Skip to content

Commit

Permalink
Merge pull request #15744 from qburst/fix--broken-image-links-in-cont…
Browse files Browse the repository at this point in the history
…extmenu

fix: broken image link in contextmenu
  • Loading branch information
cetincakiroglu authored May 30, 2024
2 parents cff8c0f + e607e40 commit 4c6b97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/showcase/doc/contextmenu/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { ContextMenu } from 'primeng/contextmenu';
<ul class="m-0 p-0 list-none border-1 surface-border border-round p-3 flex flex-column gap-2 w-full md:w-30rem">
<li *ngFor="let product of data" class="p-2 hover:surface-hover border-round border-1 border-transparent transition-all transition-duration-200" (contextmenu)="onContextMenu($event)">
<div class="flex flex-wrap p-2 align-items-center gap-3">
<img class="w-4rem flex-shrink-0 border-round" src="https://primefaces.org/cdn/primeng/images/{{ product.image }}" alt="product.name" />
<img class="w-4rem flex-shrink-0 border-round" src="https://primefaces.org/cdn/primeng/images/demo/product/{{ product.image }}" alt="product.name" />
<div class="flex-1 flex flex-column gap-1">
<span class="font-bold">{{ product.name }}</span>
<div class="flex align-items-center gap-2">
Expand Down

0 comments on commit 4c6b97a

Please sign in to comment.