Skip to content

Commit

Permalink
fixed: dropzone not following scroll position
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwentworth committed Aug 6, 2017
1 parent 1f544ee commit c1dfeff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ section {
}

.dropzone {
width: 100%;
position: fixed;
width: calc(100vw - 300px);
height: 100vh;
color: #fff;
font-weight: bold;
background-color: rgba(16, 32, 48, 0.9);
position: absolute;
top: 0;
right: 0;
display: flex;
Expand All @@ -58,6 +58,10 @@ section {
user-select: none;
}

.right.expand .dropzone {
width: 100vw;
}

.folders {
}

Expand Down Expand Up @@ -167,6 +171,7 @@ label {
position: fixed;
left: 16px;
bottom: 16px;
z-index: 1000;
}

.hidden {
Expand Down

0 comments on commit c1dfeff

Please sign in to comment.