Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#30420 closed defect (bug) (fixed)

Twenty Fifteen: Too-wide tables pop-out of posts

Reported by: iandstewart's profile iandstewart Owned by: iandstewart's profile iandstewart
Milestone: 4.1 Priority: normal
Severity: minor Version: 4.1
Component: Bundled Theme Keywords: has-patch commit
Focuses: Cc:

Description

https://cldup.com/z4eYHuCWXh.png

Example HTML and possible solution here:

http://www.456bereastreet.com/lab/table-layout-fixed/example-4.html

word-wrap isn't really a solution though for a theme. It's great for case-by-case static sites but it'll just start indiscriminately breaking words everywhere if we use it in a theme.

Attachments (1)

30420.diff (437 bytes) - added by iamtakashi 10 years ago.
Prevents HTML tables from becoming too wide.

Download all attachments as: .zip

Change History (8)

#1 @iandstewart
10 years ago

  • Version set to trunk

This ticket was mentioned in Slack in #core-themes by iandstewart. View the logs.


10 years ago

This ticket was mentioned in Slack in #core-themes by iandstewart. View the logs.


10 years ago

#4 @iamtakashi
10 years ago

This is interesting. We already have word-wrap: break-word in .entry-content but it doesn't seem to work in this case.

@iamtakashi
10 years ago

Prevents HTML tables from becoming too wide.

#5 @iamtakashi
10 years ago

  • Keywords has-patch added

#6 @iandstewart
10 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 4.1

#7 @iandstewart
10 years ago

  • Owner set to iandstewart
  • Resolution set to fixed
  • Status changed from new to closed

In 30566:

Twenty Fifteen: prevent too-wide tables from popping out of posts.

Props iamtakashi, fixes #30420

Note: See TracTickets for help on using tickets.