| @@ -21,10 +21,9 @@ | ||
| 21 | 21 | $css_generator->add_class_styles( |
| 22 | 22 | '{{WRAPPER}}', |
| 23 | 23 | $this->get_wrapper_css( $attributes ), |
| 24 | 24 | $this->get_wrapper_css( $attributes, 'Tablet' ), |
| 25 | - $this->get_wrapper_css( $attributes, 'Mobile' ), | |
| 26 | - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_wrapper_css( $attributes, $device ); } ) | |
| 25 | + $this->get_wrapper_css( $attributes, 'Mobile' ) | |
| 27 | 26 | ); |
| 28 | 27 | |
| 29 | 28 | $css_generator->add_class_styles( |
| 30 | 29 | '{{WRAPPER}} .ablocks-chart-canvas', |
| @@ -29,10 +28,9 @@ | ||
| 29 | 28 | $css_generator->add_class_styles( |
| 30 | 29 | '{{WRAPPER}} .ablocks-chart-canvas', |
| 31 | 30 | $this->get_chart_css( $attributes ), |
| 32 | 31 | $this->get_chart_css( $attributes, 'Tablet' ), |
| 33 | - $this->get_chart_css( $attributes, 'Mobile' ), | |
| 34 | - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_chart_css( $attributes, $device ); } ) | |
| 32 | + $this->get_chart_css( $attributes, 'Mobile' ) | |
| 35 | 33 | ); |
| 36 | 34 | |
| 37 | 35 | return $css_generator->generate_css(); |
| 38 | 36 | } |
| @@ -41,10 +39,9 @@ | ||
| 41 | 39 | $css_generator->add_class_styles( |
| 42 | 40 | '{{WRAPPER}}', |
| 43 | 41 | $this->get_wrapper_css( $attributes ), |
| 44 | 42 | $this->get_wrapper_css( $attributes, 'Tablet' ), |
| 45 | - $this->get_wrapper_css( $attributes, 'Mobile' ), | |
| 46 | - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_wrapper_css( $attributes, $device ); } ) | |
| 43 | + $this->get_wrapper_css( $attributes, 'Mobile' ) | |
| 47 | 44 | ); |
| 48 | 45 | |
| 49 | 46 | $css_generator->add_class_styles( |
| 50 | 47 | '{{WRAPPER}} .ablocks-chart-canvas', |
| @@ -49,10 +46,9 @@ | ||
| 49 | 46 | $css_generator->add_class_styles( |
| 50 | 47 | '{{WRAPPER}} .ablocks-chart-canvas', |
| 51 | 48 | $this->get_chart_css( $attributes ), |
| 52 | 49 | $this->get_chart_css( $attributes, 'Tablet' ), |
| 53 | - $this->get_chart_css( $attributes, 'Mobile' ), | |
| 54 | - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_chart_css( $attributes, $device ); } ) | |
| 50 | + $this->get_chart_css( $attributes, 'Mobile' ) | |
| 55 | 51 | ); |
| 56 | 52 | |
| 57 | 53 | return $css_generator->generate_css(); |
| 58 | 54 | } |