Skip to content

Commit

Permalink
Improve styles
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneIRL committed Oct 7, 2023
1 parent d4ee022 commit 9e1fdd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/admin/scanner/IDScanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,12 +493,12 @@ const IDScanner: React.FC<IDScannerProps> = ({ perms }) => {
{/* MEAL SCAN MODE */}
{(scannerMode === 'meal' && currMeal) && (
<>
<div className="font-heading text-center mt-3 text-lg px-4 py-2 rounded-lg bg-hackuta-red text-white">
<div className="font-heading text-center mt-3 text-lg px-4 rounded-lg bg-hackuta-red text-white">
{`${currMeal} Checkin`}
</div>
<div className="text-center mb-4 font-bold">
Checked in: {stats
? `${stats.numEatenMeal} out of ${stats.numCheckedIn} checked in`
<div className="text-center mb-2 font-bold">
{stats
? `${stats.numEatenMeal} out of ${stats.numCheckedIn}`
: 'Loading...'}
</div>
<div style={{ marginTop: '10px' }}>
Expand Down

0 comments on commit 9e1fdd7

Please sign in to comment.