[MNT-23433] Close Preview button position (#3535)

* [MNT-23433] preview button configure

* [MNT-23433] e2e fix

* [MNT-23433] e2e fix for protractor

* [MNT-23433] default position set to right

* [MNT-23433] close button added for e2e

* [MNT-23433] documentation added

* [MNT-23433] removed close button from toolbar

* [MNT-23433]  passing close button position

* [MNT-23433] hide info icon

* [MNT-23433] add property for info button

* Upstream ADF-6.6.0-7386887320, Js-api-7.5.0-7386887320 version
This commit is contained in:
Anukriti Singh
2024-01-03 13:27:30 +05:30
committed by GitHub
parent 8a97b3cc49
commit 6da7152c84
6 changed files with 48 additions and 50 deletions

View File

@@ -13,6 +13,8 @@
[allowDownload]="false"
[allowFullScreen]="false"
[overlayMode]="true"
[hideInfoButton]="true"
[closeButtonPosition]="'viewer.closeButtonPosition' | adfAppConfig: 'right'"
(showViewerChange)="onViewerVisibilityChanged()"
[canNavigateBefore]="!!previousNodeId"
[canNavigateNext]="!!nextNodeId"

View File

@@ -16,11 +16,6 @@
}
}
// todo: remove this when viewer supports extensions
.adf-viewer-toolbar > * > button:last-child {
display: none;
}
.adf-alfresco-viewer.aca-right_side--hide .adf-viewer__sidebar__right {
width: 0;
}