mobile fix

This commit is contained in:
2026-03-02 16:25:26 -08:00
parent ef09a76bb4
commit c8315d472c
2 changed files with 3 additions and 2 deletions
@@ -1,6 +1,6 @@
<div class="card" (click)="onCardClick()"> <div class="card" (click)="onCardClick()">
<h2 class="identifier">{{ student().identifier }}</h2> <h2 class="identifier">{{ student().identifier }}</h2>
<span class="age-badge">Grad Date: {{ student().expectedGradDate }}</span> <span class="age-badge">Grad Date: {{ student().expectedGradDate | date:'M/d/yy' }}</span>
<div class="stats"> <div class="stats">
<span class="stat">{{ student().goalCount }} goals</span> <span class="stat">{{ student().goalCount }} goals</span>
<span class="stat">{{ student().progressEventCount }} events</span> <span class="stat">{{ student().progressEventCount }} events</span>
@@ -1,10 +1,11 @@
import { Component, inject, input } from '@angular/core'; import { Component, inject, input } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { StudentCardDto } from '../../../shared/classes/student-card.dto'; import { StudentCardDto } from '../../../shared/classes/student-card.dto';
import { DatePipe } from '@angular/common';
@Component({ @Component({
selector: 'app-student-card', selector: 'app-student-card',
imports: [], imports: [DatePipe],
templateUrl: './student-card.html', templateUrl: './student-card.html',
styleUrl: './student-card.scss', styleUrl: './student-card.scss',
}) })