Skip to content

Commit 65242a5

Browse files
CopilotSweetCodey
andcommitted
Fix horizontal centering for better balanced layout
Co-authored-by: SweetCodey <167379283+SweetCodey@users.noreply.github.com>
1 parent 5c5fff5 commit 65242a5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/FlappyBird.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
padding: 20px;
55
text-align: center;
66
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
7+
display: flex;
8+
flex-direction: column;
9+
align-items: center;
710
}
811

912
.flappy-bird-container h1 {
@@ -15,7 +18,6 @@
1518

1619
.game-area {
1720
position: relative;
18-
display: inline-block;
1921
margin-bottom: 20px;
2022
border-radius: 10px;
2123
box-shadow: 0 8px 32px rgba(0,0,0,0.2);

0 commit comments

Comments
 (0)