From 215dc79e501f56b3623939aaa3ddfe25c1f74fa6 Mon Sep 17 00:00:00 2001 From: David Menting Date: Fri, 10 Nov 2023 12:04:18 +0100 Subject: [PATCH] Make datatable vertical height dependent on viewport height --- src/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index 54e2e47e..1523e672 100644 --- a/src/style.css +++ b/src/style.css @@ -30,7 +30,7 @@ } .dt-scrollable { - height: 40vw; + height: calc(100vh - 450px); overflow: auto; border-top: 2px solid var(--dt-border-color);