Correctly fix table column widths
This commit is contained in:
parent
0e76f30abb
commit
72c98d189e
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue