From 2ce3c11da2f0ba53d9cd8658f9dd49c7e405524e Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 28 Aug 2022 18:50:05 +0100 Subject: [PATCH] Make panel headers static when scrolling panel content --- core/templates/base.html | 20 +++++++++++++++++++ .../ui/drilldown/table_results_partial.html | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/core/templates/base.html b/core/templates/base.html index e49674e..73df687 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -162,6 +162,26 @@ background-color: transparent !important; } + .grid-stack-item-content { + display: flex !important; + flex-direction: column !important; + overflow-x: hidden !important; + overflow-y: hidden !important; + } + + .panel { + display: flex !important; + flex-direction: column !important; + overflow: hidden; + } + + .panel-block { + overflow-y:scroll; + overflow-x:scroll; + min-height: 90%; + display: block; + } + diff --git a/core/templates/ui/drilldown/table_results_partial.html b/core/templates/ui/drilldown/table_results_partial.html index 65b58e0..d69c62c 100644 --- a/core/templates/ui/drilldown/table_results_partial.html +++ b/core/templates/ui/drilldown/table_results_partial.html @@ -54,7 +54,7 @@ }); -