forked from AkkomaGang/akkoma-fe
Make image orientation consistent on FF, fix videos w/ modal
This commit is contained in:
parent
0e21c3cdd9
commit
15c4088a68
2 changed files with 3 additions and 1 deletions
|
@ -190,6 +190,7 @@
|
||||||
|
|
||||||
.video {
|
.video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.play-icon {
|
.play-icon {
|
||||||
|
@ -286,7 +287,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
image-orientation: from-image;
|
image-orientation: from-image; // NOTE: only FF supports this
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
max-height: 90%;
|
max-height: 90%;
|
||||||
box-shadow: 0px 5px 15px 0 rgba(0, 0, 0, 0.5);
|
box-shadow: 0px 5px 15px 0 rgba(0, 0, 0, 0.5);
|
||||||
|
image-orientation: from-image; // NOTE: only FF supports this
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-view-button-arrow {
|
.modal-view-button-arrow {
|
||||||
|
|
Loading…
Reference in a new issue