RED-9777: fixed viewer header alignment + added components view parent.
This commit is contained in:
parent
17943f2e8d
commit
6547eb2ad5
@ -242,6 +242,7 @@ export class HelpModeService {
|
||||
const iframe: HTMLIFrameElement = document.getElementById(PDF_TRON_IFRAME_ID) as HTMLIFrameElement;
|
||||
const iframeRect = iframe.getBoundingClientRect();
|
||||
dimensions.y += iframeRect.top;
|
||||
dimensions.x += iframeRect.left;
|
||||
}
|
||||
|
||||
helper.helperElement.style.cssText = `
|
||||
|
||||
@ -9,7 +9,7 @@ export const PDF_TRON_IFRAME_ID = 'webviewer-1';
|
||||
export const WEB_VIEWER_ELEMENTS = [
|
||||
{
|
||||
querySelector: '.HeaderItems',
|
||||
documentKey: 'pdf_features',
|
||||
documentKey: 'document_viewer_features',
|
||||
},
|
||||
];
|
||||
|
||||
@ -18,6 +18,7 @@ export const ScrollableParentViews = {
|
||||
ANNOTATIONS_LIST: 'ANNOTATIONS_LIST',
|
||||
SCM_EDIT_DIALOG: 'SCM_EDIT_DIALOG',
|
||||
WORKFLOW_VIEW: 'WORKFLOW_VIEW',
|
||||
COMPONENTS_VIEW: 'COMPONENTS_VIEW',
|
||||
} as const;
|
||||
|
||||
export const SCROLLABLE_PARENT_VIEWS_IDS = {
|
||||
@ -25,6 +26,7 @@ export const SCROLLABLE_PARENT_VIEWS_IDS = {
|
||||
ANNOTATIONS_LIST: 'annotations-list',
|
||||
SCM_EDIT_DIALOG: 'scm-edit',
|
||||
WORKFLOW_VIEW: 'workflow-view',
|
||||
COMPONENTS_VIEW: 'components-view',
|
||||
} as const;
|
||||
|
||||
export type ScrollableParentView = keyof typeof ScrollableParentViews;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user