max height

This commit is contained in:
Aaron Gutierrez
2021-02-22 21:51:22 -08:00
parent 194ce72f36
commit 3a4645d070

View File

@@ -32,8 +32,8 @@ footer {
.img-grid a { .img-grid a {
align-items: flex-end; align-items: flex-end;
display: flex; display: flex;
margin-bottom: 60px; margin-bottom: 40px;
max-height: calc(100vw - 40px); max-height: min(calc(100vh - 80px), calc(100vw - 40px));
overflow: hidden; overflow: hidden;
} }