From: Paul Donald Date: Thu, 19 Feb 2026 23:47:36 +0000 (+0100) Subject: luci-base: filter header row CSS styling X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=39ce4bbc944af70a7a4ac6956c915a5c68b17e49;p=openwrt-luci.git 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 --- 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' }, [