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 Dec 28, 2023
1 parent fe09631 commit 4051186
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[nodeId]="nodeId"
[versionId]="versionId"
[allowNavigate]="navigateMultiple"
[allowRightSidebar]="false"
[allowRightSidebar]="true"
[allowPrint]="false"
[showRightSidebar]="true"
[allowDownload]="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 4051186

Please sign in to comment.