1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 12:12:43 +01:00
phorge-phorge/webroot/rsrc/css/aphront
epriestley 35d03d36c7 Improve display behavior of commit messages in Diffusion
Summary:
See T372. Always render commit messages on one display line, so the table
doesn't jump around as they AJAX in on browse views.

The goal here is to have the cell choose a size naturally and for its content to
render with "overflow: hidden" if the natural size isn't large enough to contain
the content. "white-space: pre" or "white-space: nowrap" would prevent wrapping
but potentially make the table exceed the display width when a better behavior
is to hide some of the commit message.

Also use utf8-aware shortening, now that we have a function for it.

Casting a wide net in case anyone has a better way to do the CSS here. It's kind
of nasty that we have to use so many DOM nodes.

Test Plan:
  - Resized window while viewing browse and history views in Safari, Chrome and
Firefox. Table exhibited described behavior.
  - Verified summaries render sensibly and are properly truncated to 100
characters.

Reviewed By: aran
Reviewers: aran, jungejason, tuomaspelkonen, tomo, mroch, cpojer
CC: aran, epriestley
Differential Revision: 750
2011-07-31 12:05:06 -07:00
..
attached-file-view.css Crop screenshot thumbs in Maniphest 2011-06-01 15:38:17 -07:00
crumbs-view.css Make the Diffusion UI vaguely usable in some cases. 2011-03-12 16:17:34 -08:00
dark-console.css Improve DarkConsole "Services" and "XHProf" plugins 2011-07-11 12:51:58 -07:00
dialog-view.css Allow projects to be quickly added from the Maniphest task creation interface 2011-06-13 10:17:08 -07:00
error-view.css Allow projects to be quickly added from the Maniphest task creation interface 2011-06-13 10:17:08 -07:00
form-view.css Allow projects to be quickly added from the Maniphest task creation interface 2011-06-13 10:17:08 -07:00
headsup-action-list-view.css Make naming, titles and layout more consistent between Maniphest and 2011-06-14 20:45:43 -07:00
list-filter-view.css Allow Maniphest to scale to a massive size 2011-06-28 06:41:05 -07:00
pager-view.css AphrontPagerView and UIExamples. 2011-03-31 17:06:33 -07:00
panel-view.css Add a document preview to Phriction 2011-07-16 18:48:27 -07:00
request-failure-view.css PhabricatorEnv 2011-01-31 11:55:26 -08:00
side-nav-view.css Browse / git improvements. 2011-03-13 22:03:30 -07:00
table-view.css Improve display behavior of commit messages in Diffusion 2011-07-31 12:05:06 -07:00
tokenizer.css Some owners read workflows. 2011-04-03 19:20:47 -07:00
typeahead.css Typeaheads 2011-01-25 14:41:32 -08:00