Skip to content

Commit

Permalink
Merge pull request #27 from navedqb/fix--broken-image-links-in-contex…
Browse files Browse the repository at this point in the history
…tmenu

fix: broken image link in contextmenu
  • Loading branch information
navedqb authored May 30, 2024
2 parents 3d5b78e + c3c3950 commit e607e40
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 e607e40

Please sign in to comment.