diff --git a/includes/MinervaHooks.php b/includes/MinervaHooks.php index c79c13e..de5408c 100644 --- a/includes/MinervaHooks.php +++ b/includes/MinervaHooks.php @@ -149,9 +149,6 @@ class MinervaHooks { break; case 'Userlogin': case 'CreateAccount': - // FIXME: Note mobile.ajax.styles should not be necessary here. - // It's used by the Captcha extension (see T162196) - $out->addModuleStyles( [ 'mobile.ajax.styles' ] ); // Add default warning message to Special:UserLogin and Special:UserCreate // if no warning message set. if ( diff --git a/skinStyles/mediawiki.special.userlogin.common.styles/minerva.less b/skinStyles/mediawiki.special.userlogin.common.styles/minerva.less index 74c44c5..e98b70a 100644 --- a/skinStyles/mediawiki.special.userlogin.common.styles/minerva.less +++ b/skinStyles/mediawiki.special.userlogin.common.styles/minerva.less @@ -29,22 +29,6 @@ &.fancycaptcha-reload { color: @colorGray7; font-weight: bold; - background: none; - - /* stylelint-disable no-descending-specificity */ - &:before { - // Note icon is provided in mobile.ajax - content: ''; - background-position: center left; - background-repeat: no-repeat; - .background-size( 16px, 16px ); - width: 1em; - height: 1em; - display: inline-block; - padding-right: 8px; - line-height: 1; - } - /* stylelint-enable no-descending-specificity */ } }