[ADF-3810] Viewer - rightmost position for more menu (#4137)

* [ADF-3810] Viewer - rightmost position for more menu

* [ADF-3810] small change
This commit is contained in:
Suzana Dirla
2019-01-17 12:28:17 +02:00
committed by Eugenio Romano
parent 6bf2558877
commit 6e5f1b68ed
3 changed files with 44 additions and 14 deletions

View File

@@ -100,20 +100,6 @@
<mat-icon>fullscreen</mat-icon>
</button>
<ng-container *ngIf="mnuMoreActions">
<button
id="adf-viewer-moreactions"
mat-icon-button
[matMenuTriggerFor]="mnuMoreActions"
title="{{ 'ADF_VIEWER.ACTIONS.MORE_ACTIONS' | translate }}"
data-automation-id="adf-toolbar-more-actions">
<mat-icon>more_vert</mat-icon>
</button>
<mat-menu #mnuMoreActions="matMenu" [overlapTrigger]="false">
<ng-content select="adf-viewer-more-actions"></ng-content>
</mat-menu>
</ng-container>
<ng-container *ngIf="allowRightSidebar">
<adf-toolbar-divider></adf-toolbar-divider>
@@ -128,6 +114,20 @@
</ng-container>
<ng-container *ngIf="mnuMoreActions">
<button
id="adf-viewer-moreactions"
mat-icon-button
[matMenuTriggerFor]="mnuMoreActions"
title="{{ 'ADF_VIEWER.ACTIONS.MORE_ACTIONS' | translate }}"
data-automation-id="adf-toolbar-more-actions">
<mat-icon>more_vert</mat-icon>
</button>
<mat-menu #mnuMoreActions="matMenu" [overlapTrigger]="false">
<ng-content select="adf-viewer-more-actions"></ng-content>
</mat-menu>
</ng-container>
</adf-toolbar>
</ng-container>