| @@ -30,10 +30,19 @@ | ||
| 30 | 30 | 'label' => esc_html__( 'Custom Width', 'elementor' ), |
| 31 | 31 | 'type' => Controls_Manager::SLIDER, |
| 32 | 32 | 'range' => [ |
| 33 | 33 | 'px' => [ |
| 34 | + 'min' => 0, | |
| 34 | 35 | 'max' => 1000, |
| 35 | 36 | ], |
| 37 | + '%' => [ | |
| 38 | + 'min' => 0, | |
| 39 | + 'max' => 100, | |
| 40 | + ], | |
| 41 | + 'vw' => [ | |
| 42 | + 'min' => 0, | |
| 43 | + 'max' => 100, | |
| 44 | + ], | |
| 36 | 45 | ], |
| 37 | 46 | 'default' => [ |
| 38 | 47 | 'unit' => '%', |
| 39 | 48 | ], |
| @@ -51,17 +60,17 @@ | ||
| 51 | 60 | 'label' => esc_html__( 'Align Self', 'elementor' ), |
| 52 | 61 | 'type' => Controls_Manager::CHOOSE, |
| 53 | 62 | 'options' => [ |
| 54 | 63 | 'flex-start' => [ |
| 55 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 64 | + 'title' => esc_html_x( 'Start', 'Flex Item Control', 'elementor' ), | |
| 56 | 65 | 'icon' => 'eicon-flex eicon-align-start-v', |
| 57 | 66 | ], |
| 58 | 67 | 'center' => [ |
| 59 | - 'title' => esc_html__( 'Center', 'elementor' ), | |
| 68 | + 'title' => esc_html_x( 'Center', 'Flex Item Control', 'elementor' ), | |
| 60 | 69 | 'icon' => 'eicon-flex eicon-align-center-v', |
| 61 | 70 | ], |
| 62 | 71 | 'flex-end' => [ |
| 63 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 72 | + 'title' => esc_html_x( 'End', 'Flex Item Control', 'elementor' ), | |
| 64 | 73 | 'icon' => 'eicon-flex eicon-align-end-v', |
| 65 | 74 | ], |
| 66 | 75 | 'stretch' => [ |
| 67 | 76 | 'title' => esc_html__( 'Stretch', 'elementor' ), |
| @@ -81,13 +90,13 @@ | ||
| 81 | 90 | 'type' => Controls_Manager::CHOOSE, |
| 82 | 91 | 'default' => '', |
| 83 | 92 | 'options' => [ |
| 84 | 93 | 'start' => [ |
| 85 | - 'title' => esc_html__( 'Start', 'elementor' ), | |
| 94 | + 'title' => esc_html_x( 'Start', 'Flex Item Control', 'elementor' ), | |
| 86 | 95 | 'icon' => 'eicon-flex eicon-order-start', |
| 87 | 96 | ], |
| 88 | 97 | 'end' => [ |
| 89 | - 'title' => esc_html__( 'End', 'elementor' ), | |
| 98 | + 'title' => esc_html_x( 'End', 'Flex Item Control', 'elementor' ), | |
| 90 | 99 | 'icon' => 'eicon-flex eicon-order-end', |
| 91 | 100 | ], |
| 92 | 101 | 'custom' => [ |
| 93 | 102 | 'title' => esc_html__( 'Custom', 'elementor' ), |