Permalink
Browse files

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 gh-7526
Closes gh-7525
  • Loading branch information...
Shepard authored and arschmitz committed Jun 27, 2014
1 parent 5197c10 commit 2dd9cf46ea819c209a0f3d7a01fc45d7a815d68f
Showing with 3 additions and 0 deletions.
  1. +3 −0 css/structure/jquery.mobile.forms.fieldcontain.css
@@ -62,4 +62,7 @@
width: auto;
margin-right: .625em;
}
.ui-field-contain > label ~ .ui-btn-inline.ui-btn-icon-notext {
width: 1.75em;
}
}

0 comments on commit 2dd9cf4

Please sign in to comment.