Technical notes on web development, DevOps, and AI integration.
1 article
Report tables emitted as bare tr>th rows never match a thead th selector. The diagnosis runs on computed style, and one dual-form rule fixes it.
TL;DR: Table headers across 30 KotaPortal tables rendered as plain text because the generator emitted rows without a thead wrapper, so the header selector never matched anything. The fix added dual selectors covering both canonical and bare markup shapes, keeping the generator untouched. Lesson learned: inspect the emitted DOM first, since a non-matching selector fails silently regardless of the cascade.