mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
align svg to text
This commit is contained in:
parent
5b87f32cff
commit
768f871176
@ -1,7 +1,7 @@
|
||||
.iconfont-mixin() {
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
vertical-align: baseline;
|
||||
vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
|
||||
text-align: center;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
|
Loading…
Reference in New Issue
Block a user