mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2062][ACA-2066] Update Viewer actions (#861)
* [ACA-2062] viewer - set icons order & set more menu separators * [ACA-2062] add separator for viewer toolbar icons
This commit is contained in:
committed by
Denys Vuika
parent
e1133eb5b2
commit
b2244cb1c4
@@ -21,7 +21,7 @@
|
||||
|
||||
<adf-viewer-open-with *ngIf="openWith.length">
|
||||
<ng-container *ngFor="let action of openWith; trackBy: trackByActionId">
|
||||
<aca-toolbar-action type="menu-item" [actionRef]="action"></aca-toolbar-action>
|
||||
<app-toolbar-menu-item [actionRef]="action"></app-toolbar-menu-item>
|
||||
</ng-container>
|
||||
</adf-viewer-open-with>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<adf-viewer-more-actions *ngIf="viewerToolbarMoreActions.length">
|
||||
<ng-container *ngFor="let action of viewerToolbarMoreActions; trackBy: trackByActionId">
|
||||
<aca-toolbar-action type="menu-item" [actionRef]="action"></aca-toolbar-action>
|
||||
<app-toolbar-menu-item [actionRef]="action"></app-toolbar-menu-item>
|
||||
</ng-container>
|
||||
</adf-viewer-more-actions>
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
.hide-last-divider .adf-viewer-toolbar .mat-toolbar {
|
||||
adf-toolbar-divider:last-of-type {
|
||||
> adf-toolbar-divider:last-of-type {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -16,3 +16,9 @@
|
||||
#adf-viewer-moreactions {
|
||||
right: -40px;
|
||||
}
|
||||
|
||||
.adf-viewer-toolbar-actions {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
Reference in New Issue
Block a user