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

Commit ba3f8fa

Browse files
Controlgroup: Set shadow on the inner wrapper. Fixes #5817.
1 parent 83ec301 commit ba3f8fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css/structure/jquery.mobile.controlgroup.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fieldset.ui-controlgroup.ui-mini {
146146
-webkit-border-bottom-right-radius: inherit;
147147
border-bottom-right-radius: inherit;
148148
}
149-
.ui-controlgroup .ui-shadow:not(.ui-focus) {
149+
.ui-controlgroup .ui-btn.ui-shadow:not(.ui-focus) {
150150
-moz-box-shadow: none;
151151
-webkit-box-shadow: none;
152152
box-shadow: none;

js/widgets/controlgroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $.widget( "mobile.controlgroup", $.mobile.widget, $.extend( {
6060
}
6161

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

6666
if ( o.mini !== undefined ) {

0 commit comments

Comments
 (0)