Skip to content

Commit

Permalink
UI break fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Angryman18 committed Jul 23, 2022
1 parent c365313 commit da27553
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plays/memory-game/NetlifyCardGame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function NetlifyCardGame(props) {
How to Play?
</h2>
<div className='container'>
<div className='App'>
<div className='game-body'>
{newImgArray.map((item, idx) => {
return (
<div
Expand Down
8 changes: 4 additions & 4 deletions src/plays/memory-game/NetlifyCardGame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $memory-game-single-item-hover-bg: url("./question1.png");
}
}

.memory-game .container .App {
.memory-game .container .game-body {
margin: 5px;
width: $memory-game-box-width;
height: calc(90vh - 25px);
Expand Down Expand Up @@ -108,7 +108,7 @@ $memory-game-single-item-hover-bg: url("./question1.png");
}

@media screen and (max-width: 1366px) {
.memory-game .container .App {
.memory-game .container .game-body {
width: 80vh;
margin: 5px;
padding: 10px;
Expand All @@ -117,7 +117,7 @@ $memory-game-single-item-hover-bg: url("./question1.png");
}

@media screen and (min-width: 1600px) {
.memory-game .container .App {
.memory-game .container .game-body {
width: 80vh;
height: 70vh;
margin: 5px;
Expand All @@ -127,7 +127,7 @@ $memory-game-single-item-hover-bg: url("./question1.png");
}

@media screen and (max-width: 768px) {
.memory-game .container .App {
.memory-game .container .game-body {
margin: 5px;
width: calc(100vh - 35px);
height: auto;
Expand Down

0 comments on commit da27553

Please sign in to comment.