Fix sticky headers to new offset

This commit is contained in:
2023-06-07 21:11:41 +02:00
parent 815adecc12
commit e259d9cca9
6 changed files with 7 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
class="table table-striped table-hover table-bordered bg-light"
data-toggle="table"
data-sticky-header="true"
data-sticky-header-offset-y="50"
data-sticky-header-offset-y="65"
data-sortable="true">
<thead>
<tr class="bg-primary text-white">

View File

@@ -2,7 +2,7 @@
class="table table-striped table-hover table-bordered bg-light"
data-toggle="table"
data-sticky-header="true"
data-sticky-header-offset-y="50"
data-sticky-header-offset-y="65"
data-sortable="true">
<thead>
<tr class="bg-primary text-white">

View File

@@ -55,7 +55,7 @@
id="report-table"
data-toggle="table"
data-sticky-header="true"
data-sticky-header-offset-y="50"
data-sticky-header-offset-y="65"
data-sortable="true">
<thead>
<tr class="bg-primary text-white">

View File

@@ -10,7 +10,7 @@
class="table table-striped table-hover table-bordered bg-light"
data-toggle="table"
data-sticky-header="true"
data-sticky-header-offset-y="50"
data-sticky-header-offset-y="65"
data-sortable="true"
data-show-multi-sort="true"
data-sort-priority='[{"sortName": "date", "sortOrder": "desc"},{"sortName": "time", "sortOrder": "desc"}]'

View File

@@ -31,7 +31,7 @@ tbody {
body {
padding-bottom: 25px;
padding-top: 60px;
padding-top: 70px;
background-color: #ffb878;
}

View File

@@ -26,7 +26,8 @@
{% if category == 'message' %}
{% set category = "info" %}
{% endif %}
<div class="alert alert-{{ category }}" role="alert">{{ message }}</div>
<div class="alert alert-{{ category }} alert-dismissible fade show"
role="alert">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}