From db141b69c7b3bb04cd58d21e8ad1ac8665b9827c Mon Sep 17 00:00:00 2001 From: Anukriti Singh Date: Wed, 27 Dec 2023 19:13:44 +0530 Subject: [PATCH] [MNT-23433] add property for info button --- .../src/lib/components/viewer/viewer.component.html | 1 + .../src/lib/components/viewer/viewer.component.scss | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.html b/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.html index dfcc3e7302..da74769ac2 100644 --- a/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.html +++ b/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.html @@ -13,6 +13,7 @@ [allowDownload]="false" [allowFullScreen]="false" [overlayMode]="true" + [hideInfoButton]="true" [closeButtonPosition]="'viewer.closeButtonPosition' | adfAppConfig: 'right'" (showViewerChange)="onViewerVisibilityChanged()" [canNavigateBefore]="!!previousNodeId" diff --git a/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.scss b/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.scss index 2007d40687..cc70ed5e2d 100644 --- a/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.scss +++ b/projects/aca-content/viewer/src/lib/components/viewer/viewer.component.scss @@ -16,19 +16,6 @@ } } - .adf-right-close-button { - padding-left: 12px; - } - - // todo: remove this when viewer supports extensions - .adf-viewer-toolbar > * > button:last-child:not(.adf-right-close-button) { - display: none; - } - - .adf-viewer-toolbar.adf-viewer-right-close-button > * > button:nth-last-child(3) { - display: none; - } - .adf-alfresco-viewer.aca-right_side--hide .adf-viewer__sidebar__right { width: 0; }