X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.ui%2Fcomponents%2Ficons.less;h=461de2f0fff60622744aeb1f3c2c8e666f44846a;hp=a7ce2e760bd47b10841e15f4741663af34905866;hb=54d50ef3921dc9f30dc4d863ddc471dc564998e9;hpb=5256bb8ce2da1390f84ef535d990129eebd74fd2 diff --git a/resources/src/mediawiki.ui/components/icons.less b/resources/src/mediawiki.ui/components/icons.less index a7ce2e760b..461de2f0ff 100644 --- a/resources/src/mediawiki.ui/components/icons.less +++ b/resources/src/mediawiki.ui/components/icons.less @@ -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. @@ -30,6 +30,11 @@ 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: