Fix vertical centering of wide videos on narrowish viewport.
This commit is contained in:
parent
867d1c34a4
commit
387a9e7b81
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
margin: auto auto;
|
||||||
}
|
}
|
||||||
.photo_viewer_image
|
.photo_viewer_image
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue