mw.filewarning: Increase the area of the warning button
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 26 Jun 2017 16:26:34 +0000 (18:26 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 26 Jun 2017 16:26:34 +0000 (18:26 +0200)
So that the user can move the mouse cursor to the popup
without the popup disappearing.

Bug: T157544
Change-Id: Ide9db6f6fd092caeea1bacfc97ec79f9acc3793e

resources/src/mediawiki/mediawiki.filewarning.less

index 2c3e137..be7aa63 100644 (file)
@@ -1,5 +1,12 @@
 @import 'mediawiki.ui/variables';
 
+// Increase the area of the button, so that the user can move the mouse cursor
+// to the popup without the popup disappearing. (T157544)
+.mediawiki-filewarning-anchor {
+       padding-bottom: 10px;
+       margin-bottom: -10px;
+}
+
 .mediawiki-filewarning {
        visibility: hidden;