| @@ -22,15 +22,17 @@ | ||
| 22 | 22 | $dynamic_text_css->add_class_styles( |
| 23 | 23 | '{{WRAPPER}} .ablocks-dynamic-text-output', |
| 24 | 24 | $this->get_dynamic_text_css( $attributes ), |
| 25 | 25 | $this->get_dynamic_text_css( $attributes, 'Tablet' ), |
| 26 | - $this->get_dynamic_text_css( $attributes, 'Mobile' ) | |
| 26 | + $this->get_dynamic_text_css( $attributes, 'Mobile' ), | |
| 27 | + $dynamic_text_css->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_dynamic_text_css( $attributes, $device ); } ) | |
| 27 | 28 | ); |
| 28 | 29 | $dynamic_text_css->add_class_styles( |
| 29 | 30 | '{{WRAPPER}} .ablocks-dynamic-text-output a', |
| 30 | 31 | $this->get_dynamic_text_css( $attributes ), |
| 31 | 32 | $this->get_dynamic_text_css( $attributes, 'Tablet' ), |
| 32 | - $this->get_dynamic_text_css( $attributes, 'Mobile' ) | |
| 33 | + $this->get_dynamic_text_css( $attributes, 'Mobile' ), | |
| 34 | + $dynamic_text_css->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_dynamic_text_css( $attributes, $device ); } ) | |
| 33 | 35 | ); |
| 34 | 36 | |
| 35 | 37 | return $dynamic_text_css->generate_css(); |
| 36 | 38 | } |