Skip to content

Commit

Permalink
Prevent photo viewer from overlapping info panes or panels (close #5212)
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Apr 15, 2019
1 parent 6bdf6c5 commit f66836d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
14 changes: 9 additions & 5 deletions css/60_photos.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
/* photo viewer div */
#photoviewer {
position: absolute;
bottom: 10px;
left: 10px;
position: relative;
flex-shrink: 0;
margin-bottom: 10px;
width: 330px;
height: 250px;
padding: 5px;
background-color: #fff;
}
[dir='ltr'] #photoviewer {
margin-left: 10px;
margin-right: 2px;
}
[dir='rtl'] #photoviewer {
left: auto;
right: 10px;
margin-right: 10px;
margin-left: 2px;
}

@media screen and (min-width: 1600px) {
Expand Down
1 change: 1 addition & 0 deletions css/80_app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3939,6 +3939,7 @@ img.tile-debug {
.info-panels {
display: flex;
flex-flow: row-reverse wrap-reverse;
width: 100%;
z-index: 1;
-ms-user-select: element;
}
Expand Down

0 comments on commit f66836d

Please sign in to comment.