This is an archive of the discontinued LLVM Phabricator instance.

[lldb][docs] Remove -webkit-hyphens in table cells so that table widths are correct on Safari
ClosedPublic

Authored by teemperor on Jan 19 2021, 11:54 AM.

Details

Summary

The tables in the new LLDB documentation currently are less wide than their contents.
The reason for that seems to be the -webkit-hyphens: auto property that sphinx is setting
for all p tags. The p tags in the generated Python documentation seem to trigger some
Safari layout issue, so Safari is calculating the cell width to be smaller than it should be (which
ends up looking like this

).

This patch just sets that property back to the browser default manual. Not sure if that's
the proper workaround, but I clicked around on the website with the changed CSS and nothing
looked funny (which is I believe how webdev unit testing works).

Diff Detail

Event Timeline

teemperor requested review of this revision.Jan 19 2021, 11:54 AM
teemperor created this revision.
This revision is now accepted and ready to land.Jan 19 2021, 12:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2021, 12:05 AM