diff --git a/core/modules/search/lib/Drupal/search/Form/SearchForm.php b/core/modules/search/lib/Drupal/search/Form/SearchForm.php index 69022dd..9845b2d 100644 --- a/core/modules/search/lib/Drupal/search/Form/SearchForm.php +++ b/core/modules/search/lib/Drupal/search/Form/SearchForm.php @@ -80,7 +80,7 @@ public function buildForm(array $form, array &$form_state, SearchInterface $plug '#type' => 'search', '#title' => $prompt, '#default_value' => $plugin->getKeywords(), - '#size' => $prompt ? 40 : 20, + '#size' => $prompt ? 30 : 20, '#maxlength' => 255, ); // processed_keys is used to coordinate keyword passing between other forms diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css index 0768ddf..00f17c8 100644 --- a/core/themes/bartik/css/style.css +++ b/core/themes/bartik/css/style.css @@ -1583,7 +1583,6 @@ div.password-suggestions { float: left; /* LTR */ font-size: 1em; margin-right: 5px; - width: 9em; } [dir="rtl"] #search-form input#edit-keys, [dir="rtl"] #block-search-form .form-item-search-block-form input {