jenkins-bot has submitted this change and it was merged.

Change subject: Setting tooltip gravity to 's' so that the tooltip shows above
......................................................................


Setting tooltip gravity to 's' so that the tooltip shows above

Right now the tooltip gravity is defaulting to north which causes
the tooltip to be partially overlapped by the cursor. Setting it
to south makes it easier to read since it appears above the icon
and isn't obscured by the cursor.

Change-Id: I9aa43c9ff93fbded1b51bf34c084ec0f8cad28b7
---
M resources/mediawiki/mediawiki.htmlform.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Mattflaschen: Looks good to me, approved
  EBernhardson (WMF): Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/resources/mediawiki/mediawiki.htmlform.js 
b/resources/mediawiki/mediawiki.htmlform.js
index ac6f2a1..f93cac1 100644
--- a/resources/mediawiki/mediawiki.htmlform.js
+++ b/resources/mediawiki/mediawiki.htmlform.js
@@ -129,7 +129,7 @@
                var $matrixTooltips = $( '.mw-htmlform-matrix 
.mw-htmlform-tooltip' );
                if ( $matrixTooltips.length ) {
                        mw.loader.using( 'jquery.tipsy', function () {
-                               $matrixTooltips.tipsy();
+                               $matrixTooltips.tipsy( { gravity: 's' } );
                        } );
                }
        } );

-- 
To view, visit https://gerrit.wikimedia.org/r/68027
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9aa43c9ff93fbded1b51bf34c084ec0f8cad28b7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
Gerrit-Reviewer: Bsitu <[email protected]>
Gerrit-Reviewer: EBernhardson (WMF) <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to