Skip to content

Commit

Permalink
[MNT-23433] hide info icon
Browse files Browse the repository at this point in the history
  • Loading branch information
AnukritiGL committed Jan 3, 2024
1 parent 93e8f95 commit 46565a2
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
[nodeId]="nodeId"
[versionId]="versionId"
[allowNavigate]="navigateMultiple"
[allowRightSidebar]="false"
[allowRightSidebar]="true"
[allowPrint]="false"
[showRightSidebar]="true"
[allowDownload]="false"
Original file line number Diff line number Diff line change
@@ -20,6 +20,15 @@
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;
}
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ export class Viewer extends Component {
}

async clickCloseButton(): Promise<void> {
const closeButton: ElementFinder = element(by.css('button[data-automation-id="adf-toolbar-back"]'));
const closeButton: ElementFinder = element(by.css('button.adf-viewer-close-button'));
await BrowserActions.click(closeButton);
}
}

0 comments on commit 46565a2

Please sign in to comment.