PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/logout/block.php +6 -3 2.10.0 → 2.14.0 View file →
@@ -30,9 +30,10 @@
30 30 $css_generator->add_class_styles(
31 31 '{{WRAPPER}} .ablocks-block-logout',
32 32 $this->get_log_out_css( $attributes ),
33 33 $this->get_log_out_css( $attributes, 'Tablet' ),
34 - $this->get_log_out_css( $attributes, 'Mobile' )
34 + $this->get_log_out_css( $attributes, 'Mobile' ),
35 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_log_out_css( $attributes, $device ); } )
35 36 );
36 37 $css_generator->add_class_styles(
37 38 '{{WRAPPER}} .ablocks-block-logout__name',
38 39 $this->get_name_css( $attributes )
@@ -41,15 +42,17 @@
41 42 $css_generator->add_class_styles(
42 43 '{{WRAPPER}} .ablocks-block-logout__avatar',
43 44 $this->get_avatar_css( $attributes ),
44 45 $this->get_avatar_css( $attributes, 'Tablet' ),
45 - $this->get_avatar_css( $attributes, 'Mobile' )
46 + $this->get_avatar_css( $attributes, 'Mobile' ),
47 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_avatar_css( $attributes, $device ); } )
46 48 );
47 49 $css_generator->add_class_styles(
48 50 '{{WRAPPER}} .ablocks-block-logout__avatar:hover',
49 51 $this->get_avatar_border_hover_css( $attributes ),
50 52 $this->get_avatar_border_hover_css( $attributes, 'Tablet' ),
51 - $this->get_avatar_border_hover_css( $attributes, 'Mobile' )
53 + $this->get_avatar_border_hover_css( $attributes, 'Mobile' ),
54 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_avatar_border_hover_css( $attributes, $device ); } )
52 55 );
53 56
54 57 return $css_generator->generate_css();
55 58 }