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

Commit

Permalink
Fieldcontain: Reset width for notext buttons
Browse files Browse the repository at this point in the history
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
Shepard authored and arschmitz committed Aug 26, 2014
1 parent d1bb77f commit 01dc1e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions css/structure/jquery.mobile.forms.fieldcontain.css
Expand Up @@ -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.