Commit 77c64815 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Add sticky to thead

parent a7f317e3
Pipeline #2380 passed with stages
in 2 minutes and 51 seconds
......@@ -271,7 +271,7 @@ Setup a *report* to manage all *forms*:
head = {{'b|p:id={{pageAlias:T}}&form=copyFormFromExt|t:Copy form from ExtForm|A:data-reference=copyForm' AS _link}}
<table class="table table-hover qfq-table-50 tablesorter tablesorter-filter" id="{{pageAlias:T}}-form">
tail = </table>
rbeg = <thead><tr>
rbeg = <thead class="sticky"><tr>
rend = </tr></thead>
fbeg = <th>
fend = </th>
......@@ -8293,7 +8293,7 @@ has the form be used. The following report includes the regular `form-editor`_ a
AND {{formIdHistory:S0}}=0
AND {{formAllUsage:S0}}=0
head = <table class="table table-hover qfq-table-50 tablesorter tablesorter-filter" id="{{pageAlias:T}}-form">
rbeg = <thead><tr>
rbeg = <thead class="sticky"><tr>
rend = </tr></thead>
tail = </table>
......
......@@ -816,4 +816,15 @@ legend {
100% {
transform: scaleX(-1) rotate(0deg);
}
}
\ No newline at end of file
}
thead.sticky th, thead.sticky td {
position: sticky;
top: 0;
background-color: white;
z-index: 9999;
}
thead.sticky td {
top: 49px;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment