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 315dbfc749

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2026-02-20 00:47:36 +01:00
parent 7f2614caec
commit 39ce4bbc94

View 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' }, [