Skip to content

Commit

Permalink
Fix problem with three picture menu (#2839)
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl authored Sep 29, 2023
1 parent fa79dd0 commit 1d5fc55
Showing 1 changed file with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,21 @@
</div>

<!-- Indicator column -->
<div *osScrollingTableCell="'indicator'; row as mediafile; config: { width: 40 }" class="fill">
<div
[matMenuTriggerFor]="singleMediafileMenu"
[matMenuTriggerData]="{ mediafile: mediafile }"
[matTooltip]="tooltipFn(mediafile)"
<div *osScrollingTableCell="'indicator'; row as mediafile; config: { width: 40 }" class="fill clickable">
<mat-icon
[matTooltip]="'File is being used' | translate"
class="foreground-icon"
*ngIf="mediafile.isFont() && isUsedAsFontFn(mediafile)"
>
<mat-icon class="foreground-icon" *ngIf="mediafile.isFont() && isUsedAsFontFn(mediafile)">
text_fields
</mat-icon>
<mat-icon class="foreground-icon" *ngIf="mediafile.isImage() && isUsedAsLogoFn(mediafile)">
insert_photo
</mat-icon>
</div>
text_fields
</mat-icon>
<mat-icon
[matTooltip]="'File is being used' | translate"
class="foreground-icon"
*ngIf="mediafile.isImage() && isUsedAsLogoFn(mediafile)"
>
insert_photo
</mat-icon>
</div>

<!-- Menu column -->
Expand Down

0 comments on commit 1d5fc55

Please sign in to comment.