Skip to content

Commit

Permalink
feat: FlappyBird_Game - test
Browse files Browse the repository at this point in the history
  • Loading branch information
welisten authored Dec 27, 2023
1 parent 26cca68 commit 00b736d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 3 additions & 5 deletions css/orientation.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
.conteudo{
justify-content: center;
overflow: hidden;
padding: 70px;
background-color: aliceblue;
}

[wm-flappy]{
min-width: 90vh;
min-height: 75vw;
min-height: 60vw;
}

.sol{
/* .sol{
width: 20rem;
}
Expand All @@ -34,7 +32,7 @@
.progresso{
font-size: 5rem;
}
} */



Expand Down
6 changes: 4 additions & 2 deletions js/orientation.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ function adjustScreen(){
document.head.appendChild(styleTag)

flappyContainer.style.transform = `rotate(90deg)`
flappyContainer.style.width = `${screenHeight}px`
flappyContainer.style.height = `${screenWidth}px`
flappyContainer.style.width = `${screenHeight - 40}px`
flappyContainer.style.height = `${screenWidth - 40}px`

modalContainer
modalContainer.style.width = `${screenHeight}px`
modalContainer.style.height = `${screenWidth}px`

Expand Down

0 comments on commit 00b736d

Please sign in to comment.