| @@ -335,11 +335,10 @@ | ||
| 335 | 335 | 'rotate', |
| 336 | 336 | [ |
| 337 | 337 | 'label' => esc_html__( 'Rotate', 'elementor' ), |
| 338 | 338 | 'type' => Controls_Manager::SLIDER, |
| 339 | - 'size_units' => [ 'deg' ], | |
| 339 | + 'size_units' => [ 'deg', 'grad', 'rad', 'turn' ], | |
| 340 | 340 | 'default' => [ |
| 341 | - 'size' => 0, | |
| 342 | 341 | 'unit' => 'deg', |
| 343 | 342 | ], |
| 344 | 343 | 'tablet_default' => [ |
| 345 | 344 | 'unit' => 'deg', |
| @@ -357,8 +356,9 @@ | ||
| 357 | 356 | 'border_width', |
| 358 | 357 | [ |
| 359 | 358 | 'label' => esc_html__( 'Border Width', 'elementor' ), |
| 360 | 359 | 'type' => Controls_Manager::DIMENSIONS, |
| 360 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 361 | 361 | 'selectors' => [ |
| 362 | 362 | '{{WRAPPER}} .elementor-icon' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 363 | 363 | ], |
| 364 | 364 | 'condition' => [ |
| @@ -366,9 +366,9 @@ | ||
| 366 | 366 | ], |
| 367 | 367 | ] |
| 368 | 368 | ); |
| 369 | 369 | |
| 370 | - $this->add_control( | |
| 370 | + $this->add_responsive_control( | |
| 371 | 371 | 'border_radius', |
| 372 | 372 | [ |
| 373 | 373 | 'label' => esc_html__( 'Border Radius', 'elementor' ), |
| 374 | 374 | 'type' => Controls_Manager::DIMENSIONS, |