summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-04-08 13:17:38 -0400
committerShyam Sunder <sgsunder1@gmail.com>2020-04-08 14:14:23 -0400
commitdeffe91fda945ae20191d85740591ac8e9f42916 (patch)
treee3045d175652b05043907303d9249c0885c669f9
parent8c01c7714fc1ed64a9cbdfec0020a39facb5a14a (diff)
client/css: orient image posts based on EXIF data
this uses the optionally implemented "image-orientation: from-image" CSS property, and will not work on every browser. see #311
-rw-r--r--client/css/post-content-control.styl3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/css/post-content-control.styl b/client/css/post-content-control.styl
index 695895d..ffa27f8 100644
--- a/client/css/post-content-control.styl
+++ b/client/css/post-content-control.styl
@@ -16,3 +16,6 @@
bottom: 0
width: 100%
height: 100%
+
+ img
+ image-orientation: from-image