From 23c905e05e1e0a443c1be301df09beddb99addf7 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Fri, 17 Apr 2015 19:04:06 +0200 Subject: [PATCH] Max image height --- butterfly/sass/_term_styles.sass | 1 + butterfly/static/main.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/butterfly/sass/_term_styles.sass b/butterfly/sass/_term_styles.sass index ab66086..27192bb 100644 --- a/butterfly/sass/_term_styles.sass +++ b/butterfly/sass/_term_styles.sass @@ -58,3 +58,4 @@ $bg: #000 !default .inline-image max-width: 100% + max-height: 50vh diff --git a/butterfly/static/main.css b/butterfly/static/main.css index 0a9b7b1..dc1c874 100644 --- a/butterfly/static/main.css +++ b/butterfly/static/main.css @@ -3108,4 +3108,5 @@ body { overflow: hidden; } .inline-image { - max-width: 100%; } + max-width: 100%; + max-height: 50vh; }