From fc689f02ccd7bb8d2f1c6fb1894f35319a53ff18 Mon Sep 17 00:00:00 2001 From: Viktor Kyryltsev <85935219+viktor-kyryltsev-kaltura@users.noreply.github.com> Date: Wed, 30 Jun 2021 13:06:39 +0300 Subject: [PATCH] fix(theme): style and RxJS fixes for Angular 11 (#954) --- .../edit-distribution-profile.component.scss | 2 +- .../flavor-replace-video/replace-file/replace-file.component.ts | 2 +- src/kmc-app/components/app-menu/app-menu.component.scss | 2 +- src/kmc-app/components/changelog/changelog.component.scss | 2 +- .../category-selector/category-selector.component.scss | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/applications/content-entries-app/entry/entry-distribution/edit-distribution-profile/edit-distribution-profile.component.scss b/src/applications/content-entries-app/entry/entry-distribution/edit-distribution-profile/edit-distribution-profile.component.scss index 2c9ff1f285..02d3f9df69 100644 --- a/src/applications/content-entries-app/entry/entry-distribution/edit-distribution-profile/edit-distribution-profile.component.scss +++ b/src/applications/content-entries-app/entry/entry-distribution/edit-distribution-profile/edit-distribution-profile.component.scss @@ -183,7 +183,7 @@ $app-styles-path: '../../../styles'; } .kDateControl .p-inputtext { - width: 176px; + width: 176px !important; } .p-inputtext:disabled { diff --git a/src/applications/content-entries-app/entry/entry-flavours/flavor-replace-video/replace-file/replace-file.component.ts b/src/applications/content-entries-app/entry/entry-flavours/flavor-replace-video/replace-file/replace-file.component.ts index 2a780d95e4..e9d509b531 100644 --- a/src/applications/content-entries-app/entry/entry-flavours/flavor-replace-video/replace-file/replace-file.component.ts +++ b/src/applications/content-entries-app/entry/entry-flavours/flavor-replace-video/replace-file/replace-file.component.ts @@ -238,7 +238,7 @@ export class ReplaceFileComponent implements OnInit, AfterViewInit, OnDestroy { this._logger.debug(`link replace type detected, load storage profiles list`); result = this._kalturaClient .request(new StorageProfileListAction()) - .map(response => response.objects); + .pipe(map(response => response.objects)); }else { result = ObservableOf(null); } diff --git a/src/kmc-app/components/app-menu/app-menu.component.scss b/src/kmc-app/components/app-menu/app-menu.component.scss index d4c408940c..fc63a7d0f3 100644 --- a/src/kmc-app/components/app-menu/app-menu.component.scss +++ b/src/kmc-app/components/app-menu/app-menu.component.scss @@ -94,7 +94,7 @@ .kIconhelp.has-notification:after { content: ' \25CF'; - color: lighten($kPrimary, 10%); + color: lighten(#00a784, 10%); position: absolute; right: -4px; bottom: -4px; diff --git a/src/kmc-app/components/changelog/changelog.component.scss b/src/kmc-app/components/changelog/changelog.component.scss index 1c45a69049..cc40c626ec 100644 --- a/src/kmc-app/components/changelog/changelog.component.scss +++ b/src/kmc-app/components/changelog/changelog.component.scss @@ -24,7 +24,7 @@ } &.active { - color: lighten($kPrimary, 10%); + color: lighten(#00a784, 10%); } } } diff --git a/src/shared/content-shared/categories/category-selector/category-selector.component.scss b/src/shared/content-shared/categories/category-selector/category-selector.component.scss index d65bcfa8ca..303aff0b80 100644 --- a/src/shared/content-shared/categories/category-selector/category-selector.component.scss +++ b/src/shared/content-shared/categories/category-selector/category-selector.component.scss @@ -2,7 +2,7 @@ .kNoParentOption { padding-bottom: 10px; - display: block; + display: flex; } .kMain {