inputs
inputs copied to clipboard
Table styles affect table cell contents
From tex in Table headers?:
This style rule is matching the contents of the TeX element: https://github.com/observablehq/inputs/blob/238639f3cb26fa9ecfc48b73bd6751aa66f6b1cc/src/style.css#L231-L235 The rule should be made more specific, like
.__ns__-table > table > thead > th > span.
If the problematic ruleset is:
https://github.com/observablehq/inputs/blob/86fa5c0b529c32cd83fccdf9b6b80ffe3bf015c0/src/style.css#L231-L235
… then a possible fix would be to modify the above selector as follows:
.__ns__-table thead th > span:first-of-type:not([class]) {
/* ... */
}
OR
.__ns__-table thead th > span:first-of-type {
/* ... */
}