Skip to content

Commit ff85132

Browse files
jpdillinghamwburklund
authored andcommitted
adjust typography on scanner
1 parent 958693b commit ff85132

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

web/src/scans/Scanner.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,14 @@ class Scanner extends Component {
216216
let { message, icon } = getScanResult(scan);
217217

218218
icon = React.cloneElement(icon, { style: { fontSize: 72 }});
219-
let title = veteran ? veteran + (plusOne ? ' + 1': '') : scan.cardNumber;
219+
let title = veteran ? veteran : scan.cardNumber;
220220

221221
return (
222222
<div>
223-
<div>{title}</div>
223+
<Typography component="h2" variant="display2" gutterBottom>{title}</Typography>
224+
{plusOne && <Typography component="h2" variant="display1" gutterBottom>+1</Typography>}
224225
{icon}
225-
<div>{message}</div>
226+
<Typography style={{ marginTop: 20 }} variant="title" gutterBottom>{message}</Typography>
226227
</div>
227228
);
228229
}

0 commit comments

Comments
 (0)