From a530b7ae65d19dbe6c7bb960bbea36ff0a18829a Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Sun, 17 Mar 2024 22:05:18 +0100 Subject: [PATCH] overflow include item when creating list --- web/style.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/style.css b/web/style.css index 917c4a4..c3f9d7d 100644 --- a/web/style.css +++ b/web/style.css @@ -21,6 +21,8 @@ body { padding: 20px; border-radius: 8px; text-align: center; + max-height: 70%; + max-width: 60%; } .graph-container-hidden { @@ -43,15 +45,16 @@ body { } .item_checkboxes { - max-height: 50%; - overflow-y: auto; + object-fit: cover; display: flex; flex-wrap: wrap; + overflow-y: scroll; + max-height: 50cqh; } .item_checkboxes div { margin-bottom: 10px; - width: calc(50% - 10px); + width: calc(25% - 10px); display: flex; align-items: center; }