From a12d8aeb225acfbf9cc2794f4cbca9c5fc0fe6fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 26 Jun 2017 18:26:34 +0200 Subject: [PATCH] mw.filewarning: Increase the area of the warning button 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/src/mediawiki/mediawiki.filewarning.less b/resources/src/mediawiki/mediawiki.filewarning.less index 2c3e1374a8..be7aa63374 100644 --- a/resources/src/mediawiki/mediawiki.filewarning.less +++ b/resources/src/mediawiki/mediawiki.filewarning.less @@ -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; -- 2.20.1