From 3a4645d0702eeff7fee4a84dd71a1a6f5be7df85 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Mon, 22 Feb 2021 21:51:22 -0800 Subject: [PATCH] max height --- site.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site.css b/site.css index 7fd3b20..d53fe01 100644 --- a/site.css +++ b/site.css @@ -32,8 +32,8 @@ footer { .img-grid a { align-items: flex-end; display: flex; - margin-bottom: 60px; - max-height: calc(100vw - 40px); + margin-bottom: 40px; + max-height: min(calc(100vh - 80px), calc(100vw - 40px)); overflow: hidden; }