From e8b9931263b856f4d068fd54797d76f522129204 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 6 Apr 2014 15:26:03 +0200 Subject: [PATCH] restrict height of photos in portrait orientation --- _src/assets/less/content.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_src/assets/less/content.less b/_src/assets/less/content.less index 137a86ab..23c9e678 100644 --- a/_src/assets/less/content.less +++ b/_src/assets/less/content.less @@ -128,6 +128,8 @@ figcaption { margin-bottom: 0; } + + img { max-height: 540px } figcaption { position: absolute; @@ -167,6 +169,8 @@ padding-bottom: @line-height-computed*6; } + figure img { max-height: none } + figcaption { opacity: 1; .translate(0,0);