Skip to content

Commit 7c8ae84

Browse files
committed
Made score visible on mobile
1 parent fb59108 commit 7c8ae84

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

Diff for: src/App.jsx

+12-18
Original file line numberDiff line numberDiff line change
@@ -128,31 +128,25 @@ function App() {
128128
<>
129129
<Container fluid>
130130
<Navbar expand="lg" className="bg-body-tertiary" pb={4} fixed="top">
131-
132131
<Navbar.Brand href="#home">Pokemon Memorization</Navbar.Brand>
133132
<Navbar.Toggle aria-controls="basic-navbar-nav" />
134133
<Navbar.Collapse id="basic-navbar-nav">
135134
</Navbar.Collapse>
136-
<Navbar.Collapse className="justify-content-end">
137-
<Col>
138-
<Row>
139-
<Navbar.Text>
140-
Score: {score}
141-
</Navbar.Text>
142-
</Row>
143-
<Row>
144-
<Navbar.Text>
145-
High Score: {highScore}
146-
</Navbar.Text>
147-
</Row>
148-
</Col>
149-
</Navbar.Collapse>
150-
151-
135+
<Col>
136+
<Row>
137+
<Navbar.Text>
138+
Score: {score}
139+
</Navbar.Text>
140+
</Row>
141+
<Row>
142+
<Navbar.Text>
143+
High Score: {highScore}
144+
</Navbar.Text>
145+
</Row>
146+
</Col>
152147
</Navbar >
153148
</Container>
154149
<Container fluid>
155-
{/* TODO add two rows. */}
156150
<Row>
157151
{pokemonToDisplay.slice(0, (pokemonToDisplay.length / 2) - 1).map((pokemon, index) => (
158152
<GameCard

0 commit comments

Comments
 (0)