diff --git a/src/frontend/app/attachments/attachments-list.component.html b/src/frontend/app/attachments/attachments-list.component.html index 310011a300b83373cf7eaf90401c24c8cd402e1b..133232c516ceeb61e4fb5220de59a445c6961ece 100644 --- a/src/frontend/app/attachments/attachments-list.component.html +++ b/src/frontend/app/attachments/attachments-list.component.html @@ -27,13 +27,8 @@ [disabled]="!attachment.canDelete">{{lang.deleteResource}}</button> </div> <div class="pjToolsContent"> - <button *ngIf="attachment.relation > 1" color="primary" class="versionButton" mat-button - [matMenuTriggerFor]="menu">{{lang.version}} <b - color="secondary">{{attachment.relation}}</b></button> - <mat-menu #menu="matMenu"> - <button mat-menu-item *ngFor="let version of attachment.versions; let i = index" - (click)="showAttachment(version)">{{lang.version}} {{i+1}}</button> - </mat-menu> + <span *ngIf="attachment.relation > 1" color="primary" class="versionButton">{{lang.version}} <b + color="secondary">{{attachment.relation}}</b></span> <button color="primary" class="actionsButton" mat-icon-button [matMenuTriggerFor]="menuPjAction"> <mat-icon fontSet="fas" fontIcon="fa-ellipsis-v"></mat-icon> </button> diff --git a/src/frontend/app/attachments/attachments-list.component.scss b/src/frontend/app/attachments/attachments-list.component.scss index 4876d6f88de9007bf1df725ab27ebf8c7a3729ac..a335663d3eaab35c988191f1e025337645a8e39c 100644 --- a/src/frontend/app/attachments/attachments-list.component.scss +++ b/src/frontend/app/attachments/attachments-list.component.scss @@ -123,6 +123,8 @@ .downloadButton, .actionsButton, .versionButton { + padding-left: 10px; + padding-right: 10px; font-size: 10px; }