Polish Round 2 (#2411)

This commit is contained in:
Joe Milazzo 2023-11-07 17:42:17 -06:00 committed by GitHub
parent ba3e760b31
commit a2fd87c454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 213 additions and 95 deletions

View file

@ -9,7 +9,7 @@
</ng-container>
<div class="progress-banner">
<p *ngIf="read < total && total > 0 && read !== total" ngbTooltip="{{((read / total) * 100) | number:'1.0-1'}}% Read">
<p *ngIf="read > 0 && read < total && total > 0 && read !== total" ngbTooltip="{{((read / total) * 100) | number:'1.0-1'}}% Read">
<ngb-progressbar type="primary" height="5px" [value]="read" [max]="total"></ngb-progressbar>
</p>
<span class="download">

View file

@ -38,6 +38,7 @@ $image-width: 160px;
display: block;
margin-top: 2px;
margin-bottom: 0px;
text-align: center;
}
.selected-highlight {

View file

@ -229,7 +229,7 @@ export class CardItemComponent implements OnInit {
if (nextDate.expectedDate) {
const utcPipe = new UtcToLocalTimePipe();
this.title = utcPipe.transform(nextDate.expectedDate);
this.title = utcPipe.transform(nextDate.expectedDate, 'shortDate');
}
this.cdRef.markForCheck();