luci-base: filter header row CSS styling
authorPaul Donald <newtwen+github@gmail.com>
Thu, 19 Feb 2026 23:47:36 +0000 (00:47 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Fri, 20 Feb 2026 00:29:43 +0000 (01:29 +0100)
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>
modules/luci-base/htdocs/luci-static/resources/form.js

index e351a2ee0c5357cd48a07bd2e784a8b166945139..1fe7fe3ca36a432a413b4401410744c3a87133d6 100644 (file)
@@ -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' }, [