Skip to content

Commit 2dd9cf4

Browse files
Shepardarschmitz
authored andcommitted
Fieldcontain: Reset width for notext buttons
Buttons with .ui-btn-icon-notext normally have a fixed width of 1.75em. However when putting them as inline buttons inside a .ui-field-contain, from a certain page width on they get a width:auto, making them use the available width on the page instead of staying at a fixed width. This overrides the width:auto with the 1.75em again in that situation. Fixes jquery-archivegh-7526 Closes jquery-archivegh-7525
1 parent 5197c10 commit 2dd9cf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css/structure/jquery.mobile.forms.fieldcontain.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,7 @@
6262
width: auto;
6363
margin-right: .625em;
6464
}
65+
.ui-field-contain > label ~ .ui-btn-inline.ui-btn-icon-notext {
66+
width: 1.75em;
67+
}
6568
}

0 commit comments

Comments
 (0)