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

(cherry picked from commit 2dd9cf4)
  • Loading branch information...
1 parent d1bb77f commit 01dc1e39bb65c0d75dc65f41daffed68b1781888 @Shepard Shepard committed with arschmitz Jun 27, 2014
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 01dc1e3

Please sign in to comment.