mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-20 03:51:23 +02:00
Add EXIF based image rotate for firefox
Chrome 81 / Safari 13.1 does this automatically. Firefox still requires this CSS. According to spec (css4) it is now deprecated but implementation is optional.
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
|
image-orientation: from-image;
|
||||||
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user