Skip to content

Commit e77edc6

Browse files
Pawel Maruszczykmikesherov
Pawel Maruszczyk
authored andcommitted
Button: Strange space between buttons in IE 7. Fixed #5253 - Toolbar demo ugly in IE
1 parent f285440 commit e77edc6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

demos/button/toolbar.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
<link rel="stylesheet" href="../demos.css">
1212
<style>
1313
#toolbar {
14-
padding: 10px 4px;
14+
padding: 11px 4px 9px 4px;
15+
}
16+
17+
/* support: IE7 */
18+
*:first-child+html #toolbar {
19+
padding: 4px 0px 4px 5px;
1520
}
1621
</style>
1722
<script>

themes/base/jquery.ui.button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ button.ui-button-icons-only {
4242

4343
/* button text element */
4444
.ui-button .ui-button-text {
45-
display: block;
45+
display: inline-block;
4646
line-height: 1.4;
4747
}
4848
.ui-button-text-only .ui-button-text {

themes/base/jquery.ui.theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
4242
color: #222222/*{fcHeader}*/;
4343
font-weight: bold;
44+
zoom: 1;
4445
}
4546
.ui-widget-header a { color: #222222/*{fcHeader}*/; }
4647

0 commit comments

Comments
 (0)