1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-22 20:51:10 +01:00
phorge-phorge/webroot/rsrc/css/application/differential
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
..
add-comment.css Tweak Maniphest CSS, fix remarkup in description change views 2011-05-22 13:26:55 -07:00
changeset-view.css Stop overriding color in differential, when we highlight specific changes. 2011-08-03 15:55:02 -04:00
core.css Tweak width of differential-panel to match aphront-panels on differential 2011-09-02 17:25:36 -07:00
local-commits-view.css Display local commit information in Differential 2011-08-31 13:49:50 -07:00
revision-comment-list.css Collapse comments in long threads. 2011-02-05 11:06:56 -08:00
revision-comment.css Allow comment panel to be stuck/unstuck to the bottom of the display 2011-07-08 13:24:20 -07:00
revision-detail.css Limit width of differential, maniphest properties tables 2011-10-24 12:50:15 -07:00
revision-history.css DifferentialRevisionView 2011-01-29 15:37:41 -08:00
table-of-contents.css Various fixes, particularly on the revision update workflow. 2011-02-04 17:53:14 -08:00