Index: src/addons/XF/_output/templates/admin/app.less
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/addons/XF/_output/templates/admin/app.less (revision d653cc482fa05e062a8ce327f4c0d96e21b31e50)
+++ src/addons/XF/_output/templates/admin/app.less (date 1585052094127)
@@ -1117,18 +1117,32 @@
text-decoration: line-through;
}
-.dataList-row--header th
-{
- z-index: 1;
- position: sticky;
- top: @_adminHeader-height;
+// sticky dataList column headers
+.dataList
+{
+ .dataList-row--header th
+ {
+ z-index: 1;
+ position: sticky;
+ top: @_adminHeader-height;
- .dataList--contained &,
- .dataList--containedFixed &,
- .block-body--contained &,
- .block-body--containedFixed &
- {
- // this won't stick by the header...
- top: 0px;
+ .dataList--contained &,
+ .dataList--containedFixed &,
+ .block-body--contained &,
+ .block-body--containedFixed &
+ {
+ // this won't stick by the header...
+ top: 0px;
+ }
}
+
+ @media (max-width: @xf-responsiveMedium)
+ {
+ overflow-x: auto;
+
+ .dataList-row--header th
+ {
+ position: static;
+ }
+ }
}
\ No newline at end of file