Fix positioning of photo_viewer under the new CSS rules.
This commit is contained in:
parent
44952b4b05
commit
272bd471ff
1 changed files with 4 additions and 8 deletions
|
@ -33,11 +33,6 @@
|
|||
|
||||
background-color: var(--color_transparency);
|
||||
}
|
||||
#right
|
||||
{
|
||||
display: grid;
|
||||
grid-template: "viewer" 1fr / 1fr;
|
||||
}
|
||||
#editor_area
|
||||
{
|
||||
grid-area: editor_area;
|
||||
|
@ -57,8 +52,8 @@
|
|||
}
|
||||
#photo_viewer
|
||||
{
|
||||
grid-area: viewer;
|
||||
display: grid;
|
||||
position: absolute;
|
||||
top: 0; bottom: 0; left: 0; right: 0;
|
||||
}
|
||||
.photo_viewer_audio,
|
||||
.photo_viewer_video,
|
||||
|
@ -84,8 +79,9 @@
|
|||
max-height: 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.photo_viewer_image img
|
||||
#photo_viewer img
|
||||
{
|
||||
position: absolute;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue