Skip to content

Commit

Permalink
feat: use better ux for s89s icons
Browse files Browse the repository at this point in the history
  • Loading branch information
TitoMoi committed Sep 17, 2023
1 parent 5ff7529 commit 85916d4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
background-color: inherit;
}

#pdfAcronim {
cursor: pointer;
}

.border-bottom {
border-bottom: 2px solid gray;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,13 @@
aria-label="icon"
(click)="toPdf()"
></mat-icon>
<mat-chip *ngIf="isAllowedTypeForS89S()" (click)="toPdfS89S()">
<mat-icon matChipAvatar class="m-2" svgIcon="pdf" aria-label="icon"></mat-icon>
S89S
</mat-chip>

<mat-chip-listbox aria-label="Fish selection">
<mat-chip-option *ngIf="isAllowedTypeForS89S()" (click)="toPdfS89S()"
><mat-icon matChipAvatar class="m-2" svgIcon="pdf" aria-label="icon"></mat-icon>
<span id="pdfAcronim">S89S</span></mat-chip-option
>
</mat-chip-listbox>

<mat-icon
class="m-2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
[matTooltip]="t('ICON_FOLDER')"
(click)="createAssignmentsInFolder()"
></mat-icon>
<mat-chip (click)="toPdfS89S()">
<mat-icon matChipAvatar class="m-2" svgIcon="pdf" aria-label="icon"></mat-icon>
S89S
</mat-chip>
<mat-chip-listbox aria-label="Fish selection">
<mat-chip-option (click)="toPdfS89S()"
><mat-icon matChipAvatar class="m-2" svgIcon="pdf" aria-label="icon"></mat-icon>
<span id="pdfAcronim">S89S</span></mat-chip-option
>
</mat-chip-listbox>
<button
*ngIf="assignmentsInFolderCreated"
mat-raised-button
Expand Down

0 comments on commit 85916d4

Please sign in to comment.