dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a96dc3
)
Ensure that span.mw-ui-icon is inline-block
author
jdlrobson
<jdlrobson@gmail.com>
Wed, 11 Apr 2018 20:47:11 +0000
(13:47 -0700)
committer
jdlrobson
<jdlrobson@gmail.com>
Wed, 11 Apr 2018 20:53:09 +0000
(13:53 -0700)
In the Minerva skin there are several icons that are spans.
This seems a sensible default and I'd rather keep this rule with
the other definitions rather than inside Minerva
Change-Id: I3d1ed6e4a165f48244e760752342c712047a07d8
resources/src/mediawiki.ui/components/icons.less
patch
|
blob
|
history
diff --git
a/resources/src/mediawiki.ui/components/icons.less
b/resources/src/mediawiki.ui/components/icons.less
index
d185b24
..
461de2f
100644
(file)
--- a/
resources/src/mediawiki.ui/components/icons.less
+++ b/
resources/src/mediawiki.ui/components/icons.less
@@
-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: