Fix: Miscellaneous v2.0 visual fixes (#4576)

* Fix notes count in tab button wrapping

* Fix position of custom fields dropdown on mobile

* Limit list view title width

* Update messages.xlf
This commit is contained in:
shamoon
2023-11-13 19:54:01 -08:00
committed by GitHub
parent 37ae30ccda
commit 863971a8c6
5 changed files with 29 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
// correct position on mobile
@media (max-width: 575.98px) {
&.show {
margin-left: -175px !important;
margin-left: -245px !important;
}
}
}

View File

@@ -211,7 +211,7 @@
</li>
<li [ngbNavItem]="DocumentDetailNavIDs.Notes" *ngIf="notesEnabled">
<a ngbNavLink i18n>Notes <span *ngIf="document?.notes.length" class="badge text-bg-secondary ms-1">{{document.notes.length}}</span></a>
<a class="text-nowrap" ngbNavLink i18n>Notes <span *ngIf="document?.notes.length" class="badge text-bg-secondary ms-1">{{document.notes.length}}</span></a>
<ng-template ngbNavContent>
<pngx-document-notes [documentId]="documentId" [notes]="document?.notes" [addDisabled]="!userCanEdit" (updated)="notesUpdated($event)"></pngx-document-notes>
</ng-template>

View File

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

View File

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