summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2026-02-19 23:47:36 +0000
committerPaul Donald2026-02-20 00:29:43 +0000
commit39ce4bbc944af70a7a4ac6956c915a5c68b17e49 (patch)
treef1a69345299f308c4294b7be8c7b29f879b99650
parent7f2614caecfa91fad8c90c19a0e9865a28211a0d (diff)
downloadluci-39ce4bbc944af70a7a4ac6956c915a5c68b17e49.tar.gz
luci-base: filter header row CSS styling
Just in case there are CSS rules which do ::before or ::after which affect the table layout, style also the filter row so it is treated and thus behaves equally. Follow-up to 315dbfc7498e2f43afb0119b992915e8f311bc37 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js
index e351a2ee0c..1fe7fe3ca3 100644
--- a/modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/modules/luci-base/htdocs/luci-static/resources/form.js
@@ -2948,7 +2948,7 @@ const CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection
}
if (this.filterrow && tableFilter) {
- const filterTr = E('tr', { 'class': `tr cbi-section-table-filter ${anon_class}` });
+ const filterTr = E('tr', { 'class': `tr cbi-section-table-filter cbi-section-table-titles ${anon_class}` });
if (!this.anonymous || this.sectiontitle) {
filterTr.appendChild(E('th', { 'class': 'th cbi-section-table-cell' }, [