From 0d853a1511d8fb1e37df4bdafd3b629e7ebd4388 Mon Sep 17 00:00:00 2001 From: mattbk Date: Mon, 2 Nov 2015 11:56:10 -0600 Subject: [PATCH] Add max-height to images themselves --- css/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 728221e..6e36cf1 100644 --- a/css/style.css +++ b/css/style.css @@ -6,12 +6,14 @@ body { //background: #dddddd; background: #ffffff; // 90vh is 90% of viewer height: http://stackoverflow.com/a/16837667/2152245 - height:90vh;; + height:80vh; overflow: hidden; cursor: pointer; } #rotator img { display: block; + max-height:80vh; + width:auto; margin: 0; } \ No newline at end of file