diff --git a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.ts b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.ts index 426f5d622..ee3a6c73e 100644 --- a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.ts +++ b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.ts @@ -68,7 +68,7 @@ export class RecommendedVideosComponent implements OnInit, OnChanges, OnDestroy } } - ngOnDestroy(): void { + ngOnDestroy () { if (this.userSub) this.userSub.unsubscribe() } diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index ee66a9db3..18a5bb1b6 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -294,7 +294,6 @@ body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus { body .p-datepicker table { font-size: 14px; margin: 0.857em 0 0 0; - table-layout: fixed; } body .p-datepicker table th { padding: 0.5em; @@ -451,6 +450,10 @@ body p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext { // --------------------------------------------------------------------------- p-table { + table { + table-layout: fixed; + } + .p-datatable-header { border: none !important; background-color: pvar(--mainBackgroundColor) !important;