]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Combine background properties into one
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Sun, 13 Jan 2019 21:13:30 +0000 (22:13 +0100)
committerMark Otto <otto@github.com>
Mon, 14 Jan 2019 00:23:32 +0000 (16:23 -0800)
scss/_custom-forms.scss

index ecbe3b0f86af52a2818ea2559d3f3203dba8467f..018889b4a01cd3299acdf7e2aafd452975f61ba1 100644 (file)
@@ -95,9 +95,7 @@
     width: $custom-control-indicator-size;
     height: $custom-control-indicator-size;
     content: "";
-    background-repeat: no-repeat;
-    background-position: center center;
-    background-size: $custom-control-indicator-bg-size;
+    background: no-repeat 50% / #{$custom-control-indicator-bg-size};
   }
 }