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

Commit

Permalink
Controlgroup: Set shadow on the inner wrapper. Fixes #5817.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Apr 26, 2013
1 parent 83ec301 commit ba3f8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/structure/jquery.mobile.controlgroup.css
Expand Up @@ -146,7 +146,7 @@ fieldset.ui-controlgroup.ui-mini {
-webkit-border-bottom-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.ui-controlgroup .ui-shadow:not(.ui-focus) {
.ui-controlgroup .ui-btn.ui-shadow:not(.ui-focus) {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
Expand Down
2 changes: 1 addition & 1 deletion js/widgets/controlgroup.js
Expand Up @@ -60,7 +60,7 @@ $.widget( "mobile.controlgroup", $.mobile.widget, $.extend( {
}

if ( o.shadow !== undefined ) {
$el.toggleClass( "ui-shadow", o.shadow );
$el.find( ".ui-controlgroup-controls" ).toggleClass( "ui-shadow", o.shadow );
}

if ( o.mini !== undefined ) {
Expand Down

0 comments on commit ba3f8fa

Please sign in to comment.