But why do you want this behavior?? This is not an optimal practice for accessibility, the problem you encountered is th has a span that has a height that overlaps the previous th, you can temporarily set it to th and give it background: inherit;
But what I would recommend here, is to use a tooltip component, on hover, something else like that!