Skip to content

Commit

Permalink
applied the "selectors_dictionary" property
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanouplines authored and girafffee committed May 21, 2024
1 parent 1779008 commit 7c8a97d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions compatibility/elementor/widgets/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -1420,15 +1420,19 @@ protected function register_controls() {
'type' => Controls_Manager::CHOOSE,
'label_block' => false,
'options' => array(
'row' => array(
'inline-block' => array(
'title' => __( 'Horizontal', 'jet-form-builder' ),
'icon' => 'eicon-ellipsis-h',
),
'column' => array(
'block' => array(
'title' => __( 'Vertical', 'jet-form-builder' ),
'icon' => 'eicon-editor-list-ul',
),
),
'selectors_dictionary' => array(
'inline-block' => 'row',
'block' => 'column',
),
'selectors' => array(
$this->selector( '__fields-group' ) => 'flex-direction: {{VALUE}};',
),
Expand Down

0 comments on commit 7c8a97d

Please sign in to comment.