Skip to content

Commit

Permalink
Thumbnail preview in Viewer smaller for mobile devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
midstar committed Jan 21, 2020
1 parent 2758af8 commit c24178e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
height: 256px;
top: 20px;
left: 20px;
border-radius: 25px;
border-radius: 10%;
position: absolute; /* Stay in place in container */
z-index: 3; /* Sit on top */
display: none; /* Hide by default */
Expand Down Expand Up @@ -297,6 +297,17 @@
left: 0px;
}

/* Smaller devices */
@media only screen and (max-width: 1000px) {
.media-thumb {
width: 180px;
height: 180px;
top: 14px;
left: 14px;
}

}

</style>

<script>
Expand Down

0 comments on commit c24178e

Please sign in to comment.