Skip to content

Commit 327bff6

Browse files
jaspermdegrootarschmitz
authored andcommitted
Button: Fixed the height of icon-only buttons in controlgroups
1 parent a4e1805 commit 327bff6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

themes/base/button.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,19 @@
2727
.ui-button:active {
2828
text-decoration: none;
2929
}
30+
3031
/* to make room for the icon, a width needs to be set here */
3132
.ui-button-icon-only {
32-
padding: 0;
33-
height: 2.1em;
33+
width: 2.2em;
34+
box-sizing: border-box;
3435
text-indent: -9999px;
3536
white-space: nowrap;
3637
}
38+
3739
.ui-icon {
3840
position: absolute;
3941
display: block;
4042
}
41-
/* button elements seem to need a little more width */
42-
button.ui-button-icon-only {
43-
width: 2.4em;
44-
}
4543

4644
/* no icon support for input elements, provide padding by default */
4745
input.ui-button.ui-icon-end,

0 commit comments

Comments
 (0)