From 09a77243079ac6514681428759533ccd9119b962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 7 Nov 2020 11:52:12 +0100 Subject: [PATCH] Remove blank space after footer In commit a8537f7e1 we added a `height: 100%` rule on links inside cards, which is great for cards in the "Featured" section of the homepage. However, the card in the "Open processes" section of the homepage has as many links inside as open processes, causing its height to be 300% if there are three processes and so expanding below the footer. --- app/assets/stylesheets/layout.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index d5bcd17f4..e07d5de69 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2820,6 +2820,10 @@ table { .cards-container { display: flex; flex-wrap: wrap; + + .card a { + height: 100%; + } } .card { @@ -2828,8 +2832,6 @@ table { overflow: visible; a { - height: 100%; - img { transition-duration: 0.3s; transition-property: transform;