Fix viewer alignment with non-square imgs/videos

This commit is contained in:
L. E. Segovia 2018-11-18 12:35:32 +00:00
parent 411ee0b7f8
commit d92d6734e1
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5
1 changed files with 3 additions and 0 deletions

View File

@ -48,10 +48,13 @@ export default {
max-width: 80%;
min-width: 10%;
height: 80%;
display: inline-flex;
img,
video {
max-height: 100%;
max-width: 100%;
align-self: center;
}
}
</style>