@@ -302,8 +302,7 @@ protected function _register_controls() {
302302 'size ' => 200 ,
303303 ],
304304 'selectors ' => [
305- '{{WRAPPER}} .mt-flipbox-card .mt-flipbox-front ' => 'height: {{SIZE}}{{UNIT}}; ' ,
306- '{{WRAPPER}} .mt-flipbox-card .mt-flipbox-back ' => 'height: {{SIZE}}{{UNIT}}; ' ,
305+ '{{WRAPPER}} .mt-flipbox-card ' => 'height: {{SIZE}}{{UNIT}}; ' ,
307306 ],
308307 ]
309308 );
@@ -582,7 +581,7 @@ protected function _register_controls() {
582581 'size ' => 50 ,
583582 ],
584583 'selectors ' => [
585- '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-icon i ' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; ' ,
584+ '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-icon ' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; ' ,
586585 ],
587586 'condition ' => [
588587 'front_graphic_element ' => 'icon ' ,
@@ -1088,7 +1087,7 @@ protected function _register_controls() {
10881087 'size ' => 50 ,
10891088 ],
10901089 'selectors ' => [
1091- '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-back .mt-flipbox-icon i ' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; ' ,
1090+ '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-back .mt-flipbox-icon ' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; ' ,
10921091 ],
10931092 'condition ' => [
10941093 'back_graphic_element ' => 'icon ' ,
@@ -1435,8 +1434,10 @@ protected function render() {
14351434 <?php endif ; ?>
14361435
14371436 <?php if ( $ settings ['front_graphic_element ' ] == 'icon ' ) : ?>
1438- <div class="mt-flipbox-icon">
1439- <?php \Elementor \Icons_Manager::render_icon ( $ settings ['front_choose_icon ' ], [ 'aria-hidden ' => 'true ' ] ); ?>
1437+ <div class="mt-flipbox-wrapper">
1438+ <span class="mt-flipbox-icon">
1439+ <?php \Elementor \Icons_Manager::render_icon ( $ settings ['front_choose_icon ' ], [ 'aria-hidden ' => 'true ' ] ); ?>
1440+ </span>
14401441 </div>
14411442 <?php endif ; ?>
14421443
@@ -1454,8 +1455,10 @@ protected function render() {
14541455 <?php endif ; ?>
14551456
14561457 <?php if ( $ settings ['back_graphic_element ' ] == 'icon ' ) : ?>
1457- <div class="mt-flipbox-icon">
1458- <?php \Elementor \Icons_Manager::render_icon ( $ settings ['back_choose_icon ' ], [ 'aria-hidden ' => 'true ' ] ); ?>
1458+ <div class="mt-flipbox-wrapper">
1459+ <span class="mt-flipbox-icon">
1460+ <?php \Elementor \Icons_Manager::render_icon ( $ settings ['back_choose_icon ' ], [ 'aria-hidden ' => 'true ' ] ); ?>
1461+ </span>
14591462 </div>
14601463 <?php endif ; ?>
14611464
0 commit comments