Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit feab6bc

Browse files
Button: Optimized CSS for button elements.
1 parent ba87993 commit feab6bc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ button.ui-btn {
1818
-webkit-box-sizing: border-box;
1919
-moz-box-sizing: border-box;
2020
box-sizing: border-box;
21+
-webkit-appearance: none;
22+
-moz-appearance: none;
2123
width: 100%;
2224
}
2325
button.ui-btn::-moz-focus-inner {
2426
border: 0;
2527
}
2628
.ui-btn-icon-notext {
27-
position: relative;
2829
padding: 0;
2930
width: 24px;
3031
height: 24px;
@@ -88,6 +89,11 @@ button.ui-btn-icon-notext {
8889
margin-right: 5px;
8990
margin-left: 5px;
9091
}
92+
/* unset margin for button elements until we can use max-width: fill-available; */
93+
[class*="ui-grid-"] button.ui-btn {
94+
margin-right: 0;
95+
margin-left: 0;
96+
}
9197
.ui-mobile .ui-btn-left,
9298
.ui-mobile .ui-btn-right,
9399
.ui-mobile .ui-btn-left > .ui-btn,

0 commit comments

Comments
 (0)