1
0
Fork 0

Correctly fix table column widths

This commit is contained in:
Chocobozzz 2023-02-15 11:58:51 +01:00
parent 0e76f30abb
commit 72c98d189e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 5 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export class RecommendedVideosComponent implements OnInit, OnChanges, OnDestroy
} }
} }
ngOnDestroy(): void { ngOnDestroy () {
if (this.userSub) this.userSub.unsubscribe() if (this.userSub) this.userSub.unsubscribe()
} }

View File

@ -294,7 +294,6 @@ body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus {
body .p-datepicker table { body .p-datepicker table {
font-size: 14px; font-size: 14px;
margin: 0.857em 0 0 0; margin: 0.857em 0 0 0;
table-layout: fixed;
} }
body .p-datepicker table th { body .p-datepicker table th {
padding: 0.5em; padding: 0.5em;
@ -451,6 +450,10 @@ body p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
p-table { p-table {
table {
table-layout: fixed;
}
.p-datatable-header { .p-datatable-header {
border: none !important; border: none !important;
background-color: pvar(--mainBackgroundColor) !important; background-color: pvar(--mainBackgroundColor) !important;