Browse Source

Right margin for .icons instead of its first child

When grouping icons (for example, placing a user icon inside big circle outline icon), right margin is applied to first child of .icons element, which makes the second icon shifted from center. I applied right margin to .icons itself.
pull/6466/head
Mojtaba Javan 6 years ago
committed by GitHub
parent
commit
97bc9eb7bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/elements/icon.less

2
src/definitions/elements/icon.less

@ -439,6 +439,7 @@ i.icons {
display: inline-block;
position: relative;
line-height: 1;
margin-right: @distanceFromText;
}
i.icons .icon {
@ -456,7 +457,6 @@ i.icons .icon:first-child {
height: auto;
vertical-align: top;
transform: none;
margin-right: @distanceFromText;
}
/* Corner Icon */

Loading…
Cancel
Save