| @@ -258,15 +258,19 @@ | ||
| 258 | 258 | 'border_width', |
| 259 | 259 | [ |
| 260 | 260 | 'label' => esc_html__( 'Border Width', 'elementor' ), |
| 261 | 261 | 'type' => Controls_Manager::SLIDER, |
| 262 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 262 | 263 | 'default' => [ |
| 264 | + 'unit' => 'px', | |
| 263 | 265 | 'size' => 1, |
| 264 | 266 | ], |
| 265 | 267 | 'range' => [ |
| 266 | 268 | 'px' => [ |
| 267 | - 'min' => 0, | |
| 268 | - 'max' => 10, | |
| 269 | + 'max' => 20, | |
| 270 | + ], | |
| 271 | + 'em' => [ | |
| 272 | + 'max' => 2, | |
| 269 | 273 | ], |
| 270 | 274 | ], |
| 271 | 275 | 'selectors' => [ |
| 272 | 276 | '{{WRAPPER}} .elementor-tab-title, {{WRAPPER}} .elementor-tab-title:before, {{WRAPPER}} .elementor-tab-title:after, {{WRAPPER}} .elementor-tab-content, {{WRAPPER}} .elementor-tabs-content-wrapper' => 'border-width: {{SIZE}}{{UNIT}};', |