Make panel headers static when scrolling panel content

This commit is contained in:
Mark Veidemanis 2022-08-28 18:50:05 +01:00
parent 4c6e5415cb
commit 2ce3c11da2
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 21 additions and 1 deletions

View File

@ -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;
}
</style>
</head>
<body>

View File

@ -54,7 +54,7 @@
});
</script>
<div id="table-container" class="table-container" style="display:none;">
<div id="table-container" style="display:none;">
<table {% render_attrs table.attrs class="table drilldown-results-table is-fullwidth" %}>
{% block table.thead %}
{% if table.show_header %}