bs5: fix dark mode dashboard widget table display

This commit is contained in:
Michael Shamoon
2022-02-20 00:16:49 -08:00
parent 899e3eed1b
commit 199affb244
3 changed files with 8 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<a header-buttons [routerLink]="[]" (click)="showAll()" i18n>Show all</a>
<table content class="table table-sm table-hover table-borderless">
<table content class="table table-sm bg-light table-hover table-borderless mb-0">
<thead>
<tr>
<th i18n>Created</th>
@@ -13,7 +13,7 @@
<tbody>
<tr *ngFor="let doc of documents" routerLink="/documents/{{doc.id}}">
<td>{{doc.created | customDate}}</td>
<td>{{doc.title | documentTitle}}<app-tag [tag]="t" *ngFor="let t of doc.tags$ | async" class="ms-1"></app-tag>
<td>{{doc.title | documentTitle}}<app-tag [tag]="t" *ngFor="let t of doc.tags$ | async" class="ms-1"></app-tag></td>
</tr>
</tbody>
</table>

View File

@@ -6,3 +6,7 @@ table {
th:first-child {
width: 25%;
}
tbody tr {
cursor: pointer;
}