HomePhabricator

[lldb][docs] Remove -webkit-hyphens in table cells so that table widths are…

Authored by teemperor on Jan 20 2021, 12:05 AM.

Description

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

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).

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D94991