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

Kingdutch created an issue. See original summary.

Kingdutch’s picture

Assigned: Kingdutch » Unassigned
Status: Active » Needs review
Kingdutch’s picture

Issue summary: View changes

Moved to use the socialbase theme which is where the structure happens. This was previously in socialblue which was a mistake :)

Kingdutch’s picture

Status: Needs review » Fixed

Merged in 5.x

  • Kingdutch committed fb62af2 on 8.x-5.x
    Issue #3039170 by Kingdutch: Add styling for tables in content
    
    Adding a...
  • 4827a2a committed on 8.x-5.x
    Merge pull request #1249 from goalgorilla/feature/3039170-body-text-...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.