Gracefully prevent styles from being applied
wheredoesyourmindgo opened this issue · 2 comments
wheredoesyourmindgo commented
Is there a more graceful way to prevent a style from being applied? Feel free to close out this issue. I just want to prevent these selectors from being used. The following works in my options, but it still causes an empty CSS rule to be included with the stylesheet.
const theme: OptionsType = {
overrideStyles: () => ({
'th:first-child,td:first-child': null,
'th:last-child,td:last-child': null
})
}
nicholasmaddren commented
Having exactly the same problem.
lukepearce commented
Here in 2023 after getting insanely frustrated with these awful default style choices... questioning why someone decided to use this library back in 2018.