File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 27
27
.ui-button : active {
28
28
text-decoration : none;
29
29
}
30
+
30
31
/* to make room for the icon, a width needs to be set here */
31
32
.ui-button-icon-only {
32
- padding : 0 ;
33
- height : 2.16 em ;
33
+ width : 2.2 em ;
34
+ box-sizing : border-box ;
34
35
text-indent : -9999px ;
35
36
white-space : nowrap;
36
37
}
38
+
37
39
.ui-icon {
38
40
position : absolute;
39
41
display : block;
40
42
}
41
- /* button elements seem to need a little more width */
42
- button .ui-button-icon-only {
43
- width : 2.4em ;
44
- }
45
43
46
44
/* no icon support for input elements, provide padding by default */
47
45
input .ui-button .ui-icon-end ,
@@ -73,7 +71,6 @@ input.ui-button.ui-button-icon-only {
73
71
.ui-button .ui-icon-bottom .ui-icon {
74
72
top : auto;
75
73
bottom : .05em ;
76
-
77
74
}
78
75
79
76
.ui-button-icon-only .ui-icon {
You can’t perform that action at this time.
0 commit comments