Skip to content

Commit 893e3bc

Browse files
Fix slider images position issue Codeinwp/visualizer-pro#343
1 parent c20d87c commit 893e3bc

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

css/style-wizard.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,20 +1062,20 @@ display: none;
10621062
-webkit-filter: grayscale(100%); */
10631063
}
10641064
.vz-chart-option .img.type-box-pie{
1065-
background-position: 27px -10px;
1065+
background-position: 15px -10px;
10661066
}
10671067
.vz-chart-option .img.type-box-bar{
1068-
background-position: -280px -235px;
1068+
background-position: -295px -235px;
10691069
}
10701070
.vz-chart-option .img.type-box-line{
1071-
background-position: -583px -7px;
1071+
background-position: -600px -7px;
10721072
}
10731073
.vz-chart-option .img.type-box-tabular{
1074-
background-position: -330px -742px;
1074+
background-position: -334px -742px;
10751075
background-size: 1000px 1250px;
10761076
}
10771077
.vz-chart-option .img.type-box-geo{
1078-
background-position: -584px -460px;
1078+
background-position: -600px -460px;
10791079
}
10801080
.vz-chart-option:hover .img{
10811081
background-image: url(../images/chart_types_v340.png);

js/setup-wizard.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,4 +301,10 @@ jQuery(function ($) {
301301
$('.slick-prev').removeAttr('disabled').css('pointer-events', 'all');
302302
}
303303
} );
304+
305+
$(window).bind('pageshow', function() {
306+
if ( jQuery('.vz-chart-option input').is(':checked') ) {
307+
$('#step-1').find('button.disabled').removeClass('disabled');
308+
}
309+
});
304310
});

0 commit comments

Comments
 (0)