Skip to content

Commit

Permalink
Updated settings UI
Browse files Browse the repository at this point in the history
  • Loading branch information
futzumi authored Dec 17, 2024
1 parent 68a08dc commit 81d15d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions game.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
text-align: center;
font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
flex-direction: column;
overflow: hidden;
}

#Cocos2dGameContainer {
Expand Down Expand Up @@ -154,7 +155,7 @@
height: 50px;
}
.outer-container {
visibility: visible;
visibility: hidden;
background-color: #3b5cb8;
border-radius: 10px;
padding: 20px;
Expand Down Expand Up @@ -257,10 +258,11 @@
}

.settings-wrapper {

display: flex; /* Use flexbox for centering */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
height: 100vh; /* Full viewport height */
height: 100%; /* Full viewport height */
width: 100%;
}

Expand Down

0 comments on commit 81d15d2

Please sign in to comment.