Page MenuHomePhabricator

Add an explicit "max-width" to PHUIDocumentPro pages to force large tables to scroll
ClosedPublic

Authored by epriestley on Oct 1 2018, 6:08 PM.
Tags
None
Referenced Files
F19095497: D19723.diff
Dec 4 2025, 5:17 AM
F18859120: D19723.diff
Nov 2 2025, 12:09 AM
F18834075: D19723.id47122.diff
Oct 26 2025, 6:52 AM
F18834073: D19723.id47119.diff
Oct 26 2025, 6:52 AM
F18834072: D19723.id.diff
Oct 26 2025, 6:52 AM
F18833172: D19723.diff
Oct 26 2025, 1:09 AM
F18832688: D19723.diff
Oct 25 2025, 10:35 PM
F18785035: D19723.diff
Oct 13 2025, 5:20 PM
Subscribers
None

Details

Summary

Ref T13202. See https://discourse.phabricator-community.org/t/phriction-page-controls-lost-after-creating-very-wide-table/1961.

If you put a very wide table in the markup for a new-layout Phriction page, it can push the actions element off screen to the right.

Tables already get a scrollbar if encouraged strongly enough; add a max-width to encourage them.

Test Plan
  • Viewed pages with a large wrappable and non-wrappable content on mobile, tablet, and desktop.

Screen Shot 2018-10-01 at 11.06.29 AM.png (1×1 px, 144 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable