mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
Prevent photo viewer from overlapping info panes or panels (close #5212)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user