mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
adjust icon svg align
This commit is contained in:
parent
26c3ea4f4a
commit
0698c82173
@ -4,13 +4,13 @@
|
||||
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;
|
||||
line-height: 0;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&:before {
|
||||
|
@ -193,10 +193,6 @@
|
||||
border-radius: 20px;
|
||||
opacity: 0;
|
||||
|
||||
svg {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: @site-text-color-secondary;
|
||||
transform: scale(1.2);
|
||||
|
Loading…
Reference in New Issue
Block a user