Limit list view title width

This commit is contained in:
shamoon 2023-11-06 11:58:17 -08:00
parent dd971d3bbf
commit 3c17c95601
2 changed files with 5 additions and 0 deletions

View File

@ -143,6 +143,7 @@
<th <th
pngxSortable="title" pngxSortable="title"
title="Sort by title" i18n-title title="Sort by title" i18n-title
class="w-40"
[currentSortField]="list.sortField" [currentSortField]="list.sortField"
[currentSortReverse]="list.sortReverse" [currentSortReverse]="list.sortReverse"
(sort)="onSort($event)" (sort)="onSort($event)"

View File

@ -10,6 +10,10 @@ th {
cursor: pointer; cursor: pointer;
} }
th.w-40 {
width: 40%;
}
.table-row-selected { .table-row-selected {
background-color: var(--pngx-primary-faded); background-color: var(--pngx-primary-faded);
} }