Commit 70d77c32 authored by Dries's avatar Dries

Issue #1258342 by Andreas Radloff: Change search inputs' default width.

parent 258b9a31
......@@ -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
......
......@@ -1579,7 +1579,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 {
......
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