Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Correctly fix table column widths

Chocobozzz72c98d189ef7
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 426f5d6227..ee3a6c73ed 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 ee66a9db33..18a5bb1b69 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;