| @@ -187,9 +187,9 @@ | ||
| 187 | 187 | |
| 188 | 188 | public static function get_css( $attributeValue, $property = '', $device = '' ) { |
| 189 | 189 | $value = wp_parse_args( |
| 190 | 190 | $attributeValue, |
| 191 | - self::get_attribute_default_value( (bool) $device ) | |
| 191 | + $device ? self::responsive_defaults() : self::get_attribute_default_value( false ) | |
| 192 | 192 | ); |
| 193 | 193 | |
| 194 | 194 | $css = []; |
| 195 | 195 | $transformations = []; |
| @@ -289,9 +289,9 @@ | ||
| 289 | 289 | return $css; |
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | public static function get_hover_css( $attribute_value, $property = '', $device = '' ) { |
| 293 | - $value = wp_parse_args( $attribute_value, self::get_attribute_default_value( (bool) $device ) ); | |
| 293 | + $value = wp_parse_args( $attribute_value, $device ? self::responsive_defaults() : self::get_attribute_default_value( false ) ); | |
| 294 | 294 | $transformations = []; |
| 295 | 295 | $transformOrigin = ''; |
| 296 | 296 | $x_offset_hover_unit = self::get_unit( |
| 297 | 297 | [ |