From af58d5a79aa9cce59bd44f5629b8e56baefa8814 Mon Sep 17 00:00:00 2001 From: Volker E Date: Tue, 2 Apr 2019 19:47:19 -0700 Subject: [PATCH] Remove `.background-size()` mixin usage Removing deprecated LESS `.background-size()` mixin calls. Bug: T219956 Change-Id: I48a939eae125802778d0a8822961bef826970f46 --- resources/src/mediawiki.ui/components/checkbox.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/src/mediawiki.ui/components/checkbox.less b/resources/src/mediawiki.ui/components/checkbox.less index 08612d03ea..92b4b8a0ef 100644 --- a/resources/src/mediawiki.ui/components/checkbox.less +++ b/resources/src/mediawiki.ui/components/checkbox.less @@ -74,7 +74,7 @@ background-origin: border-box; background-position: center center; background-repeat: no-repeat; - .background-size( 0, 0 ); + background-size: 0 0; .box-sizing( border-box ); position: absolute; // Ensure alignment of checkbox to middle of the text in long labels, see T85241 @@ -90,7 +90,7 @@ // Apply a checkmark on the pseudo `:before` element when the input is checked &:checked + label:before { .background-image-svg( 'images/checkbox-checked.svg', 'images/checkbox-checked.png' ); - .background-size( 90%, 90% ); + background-size: 90% 90%; } &:enabled { -- 2.20.1