Commit 2004f74d authored by alexpott's avatar alexpott
Browse files

Issue #2296261 by GemVinny, lokapujya, lduerig, herom, rteijeiro: Misalligned...

Issue #2296261 by GemVinny, lokapujya, lduerig, herom, rteijeiro: Misalligned Type field in Drupal 8.x views
parent 581c3a03
...@@ -222,7 +222,7 @@ function views_ui_standard_display_dropdown(&$form, FormStateInterface $form_sta ...@@ -222,7 +222,7 @@ function views_ui_standard_display_dropdown(&$form, FormStateInterface $form_sta
// @todo Move this to a separate function if it's needed on any forms that // @todo Move this to a separate function if it's needed on any forms that
// don't have the display dropdown. // don't have the display dropdown.
$form['override'] = array( $form['override'] = array(
'#prefix' => '<div class="views-override clearfix container-inline" data-drupal-views-offset="top">', '#prefix' => '<div class="views-override clearfix form--inline" data-drupal-views-offset="top">',
'#suffix' => '</div>', '#suffix' => '</div>',
'#weight' => -1000, '#weight' => -1000,
'#tree' => TRUE, '#tree' => TRUE,
......
...@@ -839,17 +839,17 @@ td.group-title { ...@@ -839,17 +839,17 @@ td.group-title {
} }
#views-filterable-options-controls .form-item { #views-filterable-options-controls .form-item {
width: 45%; width: 30%;
margin-right: 2%; /* LTR */ margin: 0 0 0 2%; /* LTR */
}
} }
[dir="rtl"] #views-filterable-options-controls .form-item { [dir="rtl"] #views-filterable-options-controls .form-item {
margin-left: 2%; margin: 0 2% 0 0;
margin-right: 0;
} }
#views-filterable-options-controls input, #views-filterable-options-controls input,
#views-filterable-options-controls select { #views-filterable-options-controls select {
width: 200px; width: 100%;
} }
.views-ui-dialog .ui-dialog-content { .views-ui-dialog .ui-dialog-content {
......
...@@ -90,7 +90,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { ...@@ -90,7 +90,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$form['override']['controls'] = array( $form['override']['controls'] = array(
'#theme_wrappers' => array('container'), '#theme_wrappers' => array('container'),
'#id' => 'views-filterable-options-controls', '#id' => 'views-filterable-options-controls',
'#attributes' => array('class' => array('container-inline')), '#attributes' => ['class' => ['form--inline']],
); );
$form['override']['controls']['options_search'] = array( $form['override']['controls']['options_search'] = array(
'#type' => 'textfield', '#type' => 'textfield',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment