Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
Tables in content (e.g. topic bodies) aren't styled by default which makes them difficult to read.
Solution
Adding a class to user content isn't simple so extending the selector from .table
(elements with the class table) to also include .page-node .body-text table
(table elements in elements with the body-text class of node pages) ensures that they're properly styled when using socialbase as a theme.
Comments
Comment #2
KingdutchPR here: https://github.com/goalgorilla/open_social/pull/1249
Comment #3
KingdutchMoved to use the socialbase theme which is where the structure happens. This was previously in socialblue which was a mistake :)
Comment #4
KingdutchMerged in 5.x