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:
4bd16f8
)
MWUI: Vertically align the icon pseudo elements
author
Baha
<bmansurov@wikimedia.org>
Mon, 8 Aug 2016 22:03:06 +0000
(18:03 -0400)
committer
Baha
<bmansurov@wikimedia.org>
Mon, 15 Aug 2016 19:37:52 +0000
(15:37 -0400)
The icon element's image was not always in the vertical center depending
on the line height of the icon.
Bug: T142391
Change-Id: I4d73c27286a623cb82e2f8801c919ae6f8007e59
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
9b9d324
..
b4edc50
100644
(file)
--- a/
resources/src/mediawiki.ui/components/icons.less
+++ b/
resources/src/mediawiki.ui/components/icons.less
@@
-26,6
+26,7
@@
.mw-ui-icon {
position: relative;
+ line-height: @iconSize;
min-height: @iconSize;
min-width: @iconSize;