File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 11
11
position : relative ;
12
12
display : inline-block ;
13
13
margin : 0 ;
14
- padding : 1 px $button-padding 0 $button-padding ;
14
+ padding : 0 $button-padding ;
15
15
16
16
min-width : ($button-padding * 3 ) + $button-font-size ;
17
17
min-height : $button-height + 5px ;
41
41
42
42
.icon {
43
43
vertical-align : top ;
44
+ pointer-events : none ;
44
45
}
45
46
46
47
.icon :before ,
51
52
padding : 0 0 $button-border-width 0 ;
52
53
vertical-align : inherit ;
53
54
font-size : $button-icon-size ;
54
- line-height : $button-height - $button-border-width + 1 ;
55
+ line-height : $button-height - $button-border-width ;
56
+ pointer-events : none ;
55
57
}
56
58
& .icon-left :before {
57
59
float : left ;
125
127
}
126
128
127
129
.button-small {
128
- padding : 0 $button-small-padding ;
130
+ padding : 2 px $button-small-padding 1 px ;
129
131
min-width : $button-small-height ;
130
- min-height : $button-small-height + 3 ;
132
+ min-height : $button-small-height + 2 ;
131
133
font-size : $button-small-font-size ;
132
- line-height : $button-small-height - $button-border-width + 1 ;
134
+ line-height : $button-small-height - $button-border-width - 1 ;
133
135
134
136
.icon :before ,
135
137
& .icon :before ,
136
138
& .icon-left :before ,
137
139
& .icon-right :before {
138
140
font-size : $button-small-icon-size ;
139
- line-height : $button-small-height - $button-border-width - 1 ;
141
+ line-height : $button-small-icon-size + 3 ;
142
+ margin-top : 3px ;
140
143
}
141
144
}
142
145
You can’t perform that action at this time.
0 commit comments