Fixes #9974

Added th selector in .table-row-variant mixin
Fixes #9974