1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00
phorge-phorge/webroot/rsrc/css/application/differential
epriestley 616976a45c Make inline reticle code more general and robust
Summary:
Ref T2009. Currently, the code which draws the reticle is sort of implicitly hard-coded with some of the rules for the 2up view.

Instead, use general rules:

  - Start selection at the next `<td />`.
  - End selection at the rightmost adjacent `<td />`.

These rules work in all cases.

Test Plan:
  - Activated reticle in 1up and 2up views by clicking line numbers and hovering over comments. It now draws correctly.
  - Dragged over line ranges in 1up and 2up views, saw accurate reticle.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T2009

Differential Revision: https://secure.phabricator.com/D12009
2015-03-07 11:47:55 -08:00
..
add-comment.css Tweak Maniphest CSS, fix remarkup in description change views 2011-05-22 13:26:55 -07:00
changeset-view.css Make inline reticle code more general and robust 2015-03-07 11:47:55 -08:00
core.css Various linter fixes. 2014-02-26 12:44:58 -08:00
results-table.css Fix mobile CSS for lint/unit results table 2014-09-30 09:47:54 -07:00
revision-comment.css Fix Remarkup sprite, tweak Transactions 2013-10-26 08:43:34 -07:00
revision-history.css Modernize "revision update history" in Differential 2014-03-12 11:39:43 -07:00
revision-list.css Update table 'age' colors to table-kit mocks. 2013-01-15 13:16:24 -08:00
table-of-contents.css Mobile Differential Diff Review (2-up) 2014-04-02 21:49:28 -07:00