From 97dd55d9464e3cb24bf1b057932bf64d4a295928 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 13 Oct 2021 21:20:46 +0200 Subject: [PATCH] feat: show up to 4 recent lists on the overview page --- src/styles/components/list.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/styles/components/list.scss b/src/styles/components/list.scss index 825a4cac2..a9e83ce95 100644 --- a/src/styles/components/list.scss +++ b/src/styles/components/list.scss @@ -291,7 +291,11 @@ $list-spacing: 1rem; } .list-cards-wrapper-2-rows { - flex-wrap: wrap; - max-height: calc(#{$list-height * 2} + #{$list-spacing * 2}); - overflow: hidden; + flex-wrap: wrap; + max-height: calc(#{$list-height * 2} + #{$list-spacing * 2} - 4px); + overflow: hidden; + + @media screen and (max-width: $mobile) { + max-height: calc(#{$list-height * 4} + #{$list-spacing * 4} - 4px); + } }