1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00
phorge-phorge/webroot/rsrc/css/application
Nick Harper 0778f35272 Limit width of differential, maniphest properties tables
Summary:
Sometimes, elements in a property table at the top of a differential
revision view or maniphest task detail view will have a minimum width
that is too wide to fit in the table without causing the table's width
to exceed the width of its parent div. This diff changes the table layout
algorithm so that the table's width never exceeds the width of its parent
div. In the case of a code block causing the excess width, it puts a
scrollbar on the block instead of letting content spill out.

Due to the way the fixed table layout algorithm works, the width of the
left column (containing headers) is set to a fixed width. I chose a width
for differential that works with the default headers, but site-specific
headers might not fit.

Test Plan:
Created a task, added a code block in the description that had an
unreasonably long line in it, and visually verified that the <td>
containing the <code> did not expand horizontally past the limit defined
by the <div> containing the <table>. I also loaded a differential revision
view and checked that its table looks sane.

Reviewers: epriestley, jungejason, aran

Reviewed By: epriestley

CC: aran, nh, epriestley

Differential Revision: 1028
2011-10-24 12:50:15 -07:00
..
base Add object status to Handles 2011-08-03 14:02:45 -07:00
contentsource Use text, not icons, to indicate content sources 2011-09-01 10:07:16 -07:00
countdown Countdown tweaks 2011-06-13 18:53:43 -07:00
differential Limit width of differential, maniphest properties tables 2011-10-24 12:50:15 -07:00
diffusion Fixed resource map. 2011-05-23 19:52:13 -07:00
directory Distribute Celerity includes. 2011-01-25 11:32:46 -08:00
feed Publish Differential stories into feed 2011-07-09 17:39:17 -07:00
files Streamline Files interfaces 2011-07-29 17:56:49 -07:00
herald Herald CSS, plus edit/save/delete. 2011-03-24 11:07:36 -07:00
maniphest Limit width of differential, maniphest properties tables 2011-10-24 12:50:15 -07:00
objectselector "Merge Duplicates" in Maniphest 2011-06-14 20:44:58 -07:00
owners Some owners read workflows. 2011-04-03 19:20:47 -07:00
phriction Show change diffs in Phriction 2011-07-18 08:46:45 -07:00
profile Show open tasks on project pages 2011-07-07 15:54:45 -07:00
projects Allow administrative editing of project resources 2011-07-21 16:46:28 -07:00
search Improve search result listing 2011-06-29 13:25:38 -07:00
slowvote Render slowvote respondents as a facepile instead of smushed-together names 2011-07-09 10:55:09 -07:00
uiexample AphrontPagerView and UIExamples. 2011-03-31 17:06:33 -07:00