| @@ -51,8 +51,9 @@ | ||
| 51 | 51 | '{{WRAPPER}}', |
| 52 | 52 | $this->get_wrapper_css( $attributes ), |
| 53 | 53 | $this->get_wrapper_css( $attributes, 'Tablet' ), |
| 54 | 54 | $this->get_wrapper_css( $attributes, 'Mobile' ), |
| 55 | + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_wrapper_css( $attributes, $device ); } ) | |
| 55 | 56 | ); |
| 56 | 57 | |
| 57 | 58 | $css_generator->add_class_styles( |
| 58 | 59 | '{{WRAPPER}} .ablocks-paragraph-text', |
| @@ -58,8 +59,9 @@ | ||
| 58 | 59 | '{{WRAPPER}} .ablocks-paragraph-text', |
| 59 | 60 | $this->get_paragraph_text_css( $attributes ), |
| 60 | 61 | $this->get_paragraph_text_css( $attributes, 'Tablet' ), |
| 61 | 62 | $this->get_paragraph_text_css( $attributes, 'Mobile' ), |
| 63 | + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_paragraph_text_css( $attributes, $device ); } ) | |
| 62 | 64 | ); |
| 63 | 65 | |
| 64 | 66 | $css_generator->add_class_styles( |
| 65 | 67 | '{{WRAPPER}} .ablocks-paragraph-text-drop-caps::first-letter', |
| @@ -65,8 +67,9 @@ | ||
| 65 | 67 | '{{WRAPPER}} .ablocks-paragraph-text-drop-caps::first-letter', |
| 66 | 68 | $this->get_paragraph_drop_text_css( $attributes ), |
| 67 | 69 | $this->get_paragraph_drop_text_css( $attributes, 'Tablet' ), |
| 68 | 70 | $this->get_paragraph_drop_text_css( $attributes, 'Mobile' ), |
| 71 | + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_paragraph_drop_text_css( $attributes, $device ); } ) | |
| 69 | 72 | ); |
| 70 | 73 | return $css_generator->generate_css(); |
| 71 | 74 | } |
| 72 | 75 | |