mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fix: doc links and more illegible in light mode (#6643)
This commit is contained in:
		@@ -18,7 +18,7 @@
 | 
			
		||||
            @case (CustomFieldDataType.DocumentLink) {
 | 
			
		||||
                <div [ngbTooltip]="nameTooltip" class="d-flex gap-1 flex-wrap">
 | 
			
		||||
                    @for (docId of value; track docId) {
 | 
			
		||||
                        <a routerLink="/documents/{{docId}}" class="badge bg-dark text-primary" title="View" i18n-title>
 | 
			
		||||
                        <a routerLink="/documents/{{docId}}" class="badge bg-body text-primary" title="View" i18n-title>
 | 
			
		||||
                            <i-bs width="0.9em" height="0.9em" name="file-text"></i-bs> <span>{{ getDocumentTitle(docId) }}</span>
 | 
			
		||||
                        </a>
 | 
			
		||||
                    }
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
            <div class="badge bg-primary" cdkDrag>{{item.name}}</div>
 | 
			
		||||
        }
 | 
			
		||||
        @if (selectedItems.length === 0) {
 | 
			
		||||
            <div class="badge bg-light fst-italic" i18n>{{emptyText}}</div>
 | 
			
		||||
            <div class="badge bg-light text-secondary fst-italic" i18n>{{emptyText}}</div>
 | 
			
		||||
        }
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 
 | 
			
		||||
@@ -174,6 +174,10 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,<svg xmlns='htt
 | 
			
		||||
    border-color: rgba(0,0,0,0) !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .badge.bg-body {
 | 
			
		||||
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .document-card .card-body.bg-light {
 | 
			
		||||
    background-color: var(--bs-body-bg);
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user