mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-07 19:08:32 -05:00
Support navigating directly to comments
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="document.n_comments" class="document-card-comments pe-none py-2 px-1">
|
||||
<span class="badge rounded-pill bg-light border text-primary">
|
||||
<a routerLink="/documents/{{document.id}}/comments" *ngIf="document.n_comments" class="document-card-comments py-2 px-1">
|
||||
<span class="badge rounded-pill bg-light border text-primary">
|
||||
<svg class="metadata-icon ms-1 me-1" fill="currentColor">
|
||||
<use xlink:href="assets/bootstrap-icons.svg#chat-left-text"/>
|
||||
</svg>
|
||||
{{document.n_comments}}</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="card-body p-2">
|
||||
<p class="card-text">
|
||||
|
@@ -5,7 +5,7 @@
|
||||
.doc-img {
|
||||
object-fit: cover;
|
||||
object-position: top left;
|
||||
height: 175px;
|
||||
height: 180px;
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
|
||||
@@ -66,12 +66,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.metadata-icon {
|
||||
width: 0.9rem;
|
||||
height: 0.9rem;
|
||||
padding: 0.05rem;
|
||||
}
|
||||
|
||||
.card-footer .btn {
|
||||
padding-top: .10rem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user