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
// @todo Move this to a separate function if it's needed on any forms that
// don't have the display dropdown.
$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>',
'#weight' => -1000,
'#tree' => TRUE,
......
......@@ -839,17 +839,17 @@ td.group-title {
}
#views-filterable-options-controls .form-item {
width: 45%;
margin-right: 2%; /* LTR */
width: 30%;
margin: 0 0 0 2%; /* LTR */
}
}
[dir="rtl"] #views-filterable-options-controls .form-item {
margin-left: 2%;
margin-right: 0;
margin: 0 2% 0 0;
}
#views-filterable-options-controls input,
#views-filterable-options-controls select {
width: 200px;
width: 100%;
}
.views-ui-dialog .ui-dialog-content {
......
......@@ -90,7 +90,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$form['override']['controls'] = array(
'#theme_wrappers' => array('container'),
'#id' => 'views-filterable-options-controls',
'#attributes' => array('class' => array('container-inline')),
'#attributes' => ['class' => ['form--inline']],
);
$form['override']['controls']['options_search'] = array(
'#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