When adding table-dark class to a table any <pre> tag inside the table gets hardly visible.
Example: https://jsbin.com/wutofapeji/edit?html,output
It would be nice if the color css property of <pre> tags would get overwritten when inside a table with the table-dark class.
@twbs/css-review Maybe we let pre inherit the color instead of setting a custom one? https://github.com/twbs/bootstrap/blob/ceffc3a5fd7af7609150048f0651f025ef19672c/scss/_code.scss#L30-L48
Agree, but $pre-color: null is better IMO. The only concern is the possibility of displaying in unintended colors for existing v4 users.
null is probably the best choice indeed.
The only concern is the possibility of displaying in unintended colors for existing v4 users.
This can indeed be a breaking change, maybe we should just fix this for v5?
Most helpful comment
nullis probably the best choice indeed.This can indeed be a breaking change, maybe we should just fix this for
v5?