Skip to content

Commit

Permalink
Implement mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskilinc committed Jul 20, 2021
1 parent 81f20d2 commit ec70bb2
Showing 1 changed file with 44 additions and 6 deletions.
50 changes: 44 additions & 6 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.app {
text-align: center;
padding-bottom: 1rem;
}

.playarea {
display: flex;
flex-direction: row;
}

.container {
Expand All @@ -13,7 +15,16 @@
#file {
display: none;
}

form {
display: flex;
justify-content: flex-end;
}

.file-upload {
display: flex;
width: 17.5rem;
justify-content: space-around;
border: 2px solid #cdd9e5;
font-family: psychedelic;
font-family: 'Quicksand', sans-serif;
Expand All @@ -28,10 +39,6 @@
border-color: #fff;
}

/* .file-upload:hover, .file-upload:focus svg {
fill: #fff;
} */

/* UPLOAD */

.upload {
Expand Down Expand Up @@ -83,8 +90,39 @@
}

.links {
position: absolute;
position: fixed;
bottom: 0;
right: 0;
padding: 6px;
padding: 8px;
}

@media only screen and (max-width: 768px) {
.playarea {
flex-direction: column;
}

.upload, .summery {
text-align: center;
border: none;
}

.summery .palette {
max-width: 50vw;
margin: auto;
}

.file-upload {
width: 10rem;
font-size: 1.25rem;
border-radius: 6px;
align-items: center;
}

.file-upload img {
width: 16px;
}

form {
justify-content: center;
}
}

0 comments on commit ec70bb2

Please sign in to comment.