From 4f4123cd5d1780a962d9df350137cc4b244b66c9 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Fri, 8 Sep 2023 15:48:27 +0300 Subject: [PATCH] DM-358 - set some keys depending on user roles --- src/assets/styles/common-help-mode.scss | 2 +- src/lib/help-mode/utils/constants.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/assets/styles/common-help-mode.scss b/src/assets/styles/common-help-mode.scss index b74c0a3..211e3b2 100644 --- a/src/assets/styles/common-help-mode.scss +++ b/src/assets/styles/common-help-mode.scss @@ -11,7 +11,7 @@ cursor: help; &.documine-theme { - background: rgba(253,189,0, 0.5); + background: rgba(253, 189, 0, 0.5); box-shadow: 0 0 0 2px var(--iqser-yellow-2) inset; } } diff --git a/src/lib/help-mode/utils/constants.ts b/src/lib/help-mode/utils/constants.ts index 8cc6c8d..5804db5 100644 --- a/src/lib/help-mode/utils/constants.ts +++ b/src/lib/help-mode/utils/constants.ts @@ -17,12 +17,14 @@ export const ScrollableParentViews = { VIRTUAL_SCROLL: 'VIRTUAL_SCROLL', ANNOTATIONS_LIST: 'ANNOTATIONS_LIST', SCM_EDIT_DIALOG: 'SCM_EDIT_DIALOG', + WORKFLOW_VIEW: 'WORKFLOW_VIEW', } as const; export const SCROLLABLE_PARENT_VIEWS_IDS = { VIRTUAL_SCROLL: 'virtual-scroll', ANNOTATIONS_LIST: 'annotations-list', SCM_EDIT_DIALOG: 'scm-edit', + WORKFLOW_VIEW: 'workflow-view', } as const; export type ScrollableParentView = keyof typeof ScrollableParentViews;