Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gizak/nofancy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-aung 'Lewis' Yip <liaung@gmail.com>2016-12-30 10:39:22 +0300
committerLi-aung 'Lewis' Yip <liaung@gmail.com>2016-12-30 10:39:22 +0300
commitb5794bb51982ef6efd5c21eb16df78f9dd8cea50 (patch)
tree78792d985f2cb11927072af259c6841fcfbf03ec
parenta6406a90f87c6c72e30fb7b4bb2144909e6676f1 (diff)
Images in posts should resize to suit available width
-rw-r--r--static/css/custom.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 3525bf0..ee5a478 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -145,6 +145,11 @@ body {
line-height:1.4;
}
+.post-content img {
+ max-width: 100%;
+ height: auto;
+}
+
.post a {
color:#c05b4d;
text-decoration: none;