1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/webroot/rsrc
epriestley 5ff02058a4 Make JX.Tooltip more conservative about positioning
Summary:
Fixes T10687. Fixes T12064.

  - Primarily, adds a margin around the edge of the screen for the purposes of aligning the tooltip.
  - Also, tries to flip the tooltip if it can (e.g., if the tooltip normally goes east, try west first), then tries other positions exhastively.

Test Plan:
{F2309363}

{F2309364}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12064, T10687

Differential Revision: https://secure.phabricator.com/D17145
2017-01-05 16:03:25 -08:00
..
css Bring up contrast on light green / red diffs 2017-01-04 15:18:24 -08:00
externals Make project token sorting and normalization a little less hacky 2016-11-17 08:02:23 -08:00
favicons JX.Favicon for Conpherence 2016-10-20 12:17:50 -07:00
image Rebuild lightbox styles 2016-11-12 15:37:16 +00:00
js Make JX.Tooltip more conservative about positioning 2017-01-05 16:03:25 -08:00