Merge "Test ApiUserrights"
[lhc/web/wiklou.git] / resources / src / mediawiki.ui / components / icons.less
index a7ce2e7..461de2f 100644 (file)
@@ -14,7 +14,7 @@
 //
 // To use icons you must be using a browser that supports pseudo elements.
 // This includes support for IE 8.
-// http://caniuse.com/#feat=css-gencontent
+// https://caniuse.com/#feat=css-gencontent
 //
 // For elements that are intended to have both an icon and text, browsers that
 // do not support pseudo-selectors will degrade to text-only.
        min-height: @iconSize;
        min-width: @iconSize;
 
+       // If an inline element has been marked as a mw-ui-icon element it must be inline-block
+       span& {
+               display: inline-block;
+       }
+
        // Standalone icons
        //
        // Markup: