| @@ -356,9 +356,9 @@ | ||
| 356 | 356 | 'drop_cap_border_radius', |
| 357 | 357 | [ |
| 358 | 358 | 'label' => esc_html__( 'Border Radius', 'elementor' ), |
| 359 | 359 | 'type' => Controls_Manager::SLIDER, |
| 360 | - 'size_units' => [ '%', 'px' ], | |
| 360 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 361 | 361 | 'default' => [ |
| 362 | 362 | 'unit' => '%', |
| 363 | 363 | ], |
| 364 | 364 | 'range' => [ |
| @@ -375,8 +375,9 @@ | ||
| 375 | 375 | $this->add_control( |
| 376 | 376 | 'drop_cap_border_width', [ |
| 377 | 377 | 'label' => esc_html__( 'Border Width', 'elementor' ), |
| 378 | 378 | 'type' => Controls_Manager::DIMENSIONS, |
| 379 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 379 | 380 | 'selectors' => [ |
| 380 | 381 | '{{WRAPPER}} .elementor-drop-cap' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 381 | 382 | ], |
| 382 | 383 | 'condition' => [ |