Skip to content

Commit

Permalink
Responsive gallery
Browse files Browse the repository at this point in the history
#12

Drawing isn't possible on mobile yet
  • Loading branch information
BurkhalterY committed Mar 25, 2024
1 parent 7ae808e commit 1394e54
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ article #model {
.comments > form {
background-color: white;
border: 1px solid #ccc;
box-sizing: border-box;
padding: 5px;
}
.comments > div:hover {
Expand Down Expand Up @@ -359,3 +360,19 @@ th {
.text-red {
color: red;
}

/* Responsive */
@media only screen and (max-width: 650px) {
body {
flex-direction: column;
height: auto;
}
#canvas,
#model {
width: 300px;
height: 300px;
}
.comments {
width: 100%;
}
}

0 comments on commit 1394e54

Please sign in to comment.