File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- .c- icon {
1
+ .icon {
2
2
display : inline-block ;
3
3
color : inherit ;
4
4
text-align : center ;
5
+ vertical-align : -.125rem ; // Fix the position of icon
5
6
fill : currentColor ;
6
- & :not (.c- icon-c-s ):not (.c- icon-custom-size ) {
7
+ & :not (.icon-c-s ):not (.icon-custom-size ) {
7
8
@include icon-size ($icon-size-base );
8
9
9
10
// TODO: create variable with a range
10
11
@for $i from 2 through 9 {
11
- & .c- icon-#{$i } xl {
12
+ & .icon-#{$i } xl {
12
13
@include icon-size ($i * ($icon-size-xl / 1.5 ));
13
14
}
14
15
}
15
16
16
- & .c- icon-xl {
17
+ & .icon-xl {
17
18
@include icon-size ($icon-size-xl );
18
19
}
19
20
20
- & .c- icon-lg {
21
+ & .icon-lg {
21
22
@include icon-size ($icon-size-lg );
22
23
}
23
24
24
- & .c- icon-sm {
25
+ & .icon-sm {
25
26
@include icon-size ($icon-size-sm );
26
27
}
27
28
}
You can’t perform that action at this time.
0 commit comments